I'm using code first with Entity Framework Core for handling som addresses in an application. These addresses all have a HousingTypes property which i ...
I'm using code first with Entity Framework Core for handling som addresses in an application. These addresses all have a HousingTypes property which i ...
Here is info about our technical development environment : .NET Core 3.1 PostgreSQL 14.2, compiled by Visual C++ build 1914, 64-bit EntityFram ...
I am learning C# and I have been running into a lot of issues with my first project around navigation properties. The main hurdle I am having an issue ...
In order to setup the TestContainer's MsSqlTestcontainer for testing, I copied the script emitted by dotnet ef migrations script and planted it in the ...
I'm doing a "manga website" with ASP.NET Core and Entity Framework and Razor pages. What I'm trying to do is having my MangaModul become MangaAuthorAr ...
I am practicing dependency injection in C# Winforms .Net 6.0. I have separate projects for DAL, BAL, Services, and the WinForms app. At the moment of ...
I am using NestJs along with GraphQL with code-first approach as explained in the documentation. It works correctly till the time I have to use a cust ...
In GraphQL Code First Approach I am trying to pass the same argumment for createUser in createManyUser but I want to pass it as an array to create man ...
I don't know how to add two foreign key in the following scenario: I have two tables, one exists in the database yet (table Market), and I have to cr ...
I have a relational database with more than 50 tables. They have more than one type of relationship, one to one, more than one. Will code first or da ...
I'm having trouble with Entity Framework and the code-first approach. Foreign key will not link properly Here is the error page: (https://prnt.sc/JU ...
I want to add two properties from the city model: after migration this error shows up: Unable to determine the relationship represented by naviga ...
I have a Model with a field type of string. I want to make a query in group by get first item of each group. but with this condition that first item ...
I am using Postgresql with code-first approach in my Node.JS project. Some of the tables were already there in the inherited code. There is a table ca ...
I'm developing a WebAPI with asp.net core [net5.0] DataBase: PostgreSQL Provider: EF Core Approach: Code First In domain objects I've used ...
Problematic code (Present in Core.run() below) Decription of problem Database doesn't exists Exec first time console program, code above in u ...
I'm trying to estabilish relationship between 3 tables in c# My models are: Guitar: Brand: Purchase:(Some properties might be missing here) I ...
I am currently working on a small project with code-first: I have to create a movie database and as usual each movie can have more than one genre (m:n ...
I use Nestjs & GraphQL for backend development, when I define model class (code first), I got following error: Schema must contain uniquely named ...
I try to execute command update-database in PMC and always get this error msg. I know theres another article basically has the same error but i tried ...