I want make model using db-first entity framwork. so i enter the command like picture below. but the error message shown as Keyword not supported: ' ...
I want make model using db-first entity framwork. so i enter the command like picture below. but the error message shown as Keyword not supported: ' ...
I am working on .NET 5 Web API in which I have several projects in one solution. One project is for only controllers, another one I have added as clas ...
I have done two test projects, one with MySQL.EntityFramworkCore and another with Pomelo.EntityFrameworkCore and in both of them the same thing happen ...
I'm writing a middleware that logs the exceptions I get. I created enum values on postgresql and mapped this to my log table My Log model is: ...
I have two tables in my project, "educator" and "educator license". The educator license is depended to the educator table with foreign key. (DB firs ...
I used database-first mode in EF. I need your help because I have a problem when I try to run this code: I get this error : An unhandled except ...
I have to update many procs and function in edmx, and I don't want update 1 by 1 in Model browser and also don't want to re-create edmx , So is there ...
I am working with ASP.Net Core 2.1 & I am facing a problem. I have been working on implementing a Database-First application. The initial Scaffold ...
When I try to scaffold existing MySQL DB using: Scaffold-DbContext "server=server;user=user;password=pw;database=db" "Pomelo.EntityFrameworkCore.MySq ...
Is it possible to configure/pass connection string to the DbContext in the constructor? rather than hard coding it in: How do I use: The foll ...
I am using asp net core 2.1 and EF 6, using DB First. My connectionString in App.Config: I have this error: An unhandled exception occurred while pr ...
Net core and efcore db first approach. I have two tables. First table is SiteDetails and it contains Sitedetails related columns and it references oth ...
Net core and EF Core DB first approach. I have one table and It has Id which is primary key and one more countryname which is non primary key. I want ...
I am working with an existing system and updating it to .NET Core, Web API and EF Core. The existing system has 2 tables: Parent table: Id, name, ...
I create new project asp.net 2.1 api for testing DB first approach , I have database for testing "DBTest" it contains “Patients” table, ”Medications” ...
I am working on an API web project, in ASP.net, and on the recommendation of several stackoverflow users, with a description of my problem, I have dec ...
I get an error message when trying to add a controller (presumably) because of incorrectly defined relationships. I cannot find what my issue is. I h ...
I am writing an application that needs to use ASP.NET MVC scaffolding from DB-first at runtime. It tests scaffolding from Cli in .NET Core following ...
In my model I have similar tables: Persons (ID-NAME) e.g. (1-Paul - 2-Frank - 3-George) Roles (ID-NAME) e.g. (1-Admin - 2-Developer - 3-Junior) ...
I'm using this code for creating foreign key: And as a result I have one to many relationship: but I want to see: Is there way to do that wit ...