I am using EF Core 5 and I have the following in my DBContext SaveChanges(): To update a shadow property. I am trying to upgrade to EF Core 6 and ...
I am using EF Core 5 and I have the following in my DBContext SaveChanges(): To update a shadow property. I am trying to upgrade to EF Core 6 and ...
I have the following configuration for which I want to provide some seed values. I've followed this example example-to-seed but I'm getting The ...
I have a stored procedure with a JSON format output. You know that a JSON format output is in a string format. Database context object returns only t ...
I am having an HTTP Post function in ASP.NET Core 5.0 MVC which is responsible for saving the values and redirect to index page with query string para ...
I want to get movie image link form TMDB website. I'm using Entity Framework Core 5, MVC But when I am making API call in getImageLink() method and i ...
I have this model In my database when I filter Ofertas by Organismo I get these results Where I see that organismo with id=6 has 2 different Ofe ...
I'm using Npgsql 5 with EF Core 5. I added "Microsoft.EntityFrameworkCore": "Information" to my appsettings.json. Suppose I have a sql command that ...
I'm using the "Create and Drop" APIs since my model changes often. After a model change, I call dotnet ef database drop, and on next run the system c ...
I came across this error when modifying a DB first project (using fluent migrator) and scaffolding the EF context to generate models. I have reproduce ...
I have installed an Linux SQL Server instance in my OS X using a docker container and I hace connected to this localhost instance with VS Code But ...
I'm getting an invalid object name error though it's certain the table exists. It is a VB.NET app being converted from 4.6 to Core 5. The 4.6 version ...
I'd like to know a good practice to update a many to many relationship when submit form. I got these two entities and I use the default many to many ...
Using Microsoft.EntityFrameworkCore version 5.0.7 and Npgsql.EntityFrameworkCore.PostgreSQL version 5.0.7, I'm currently stuck trying to remove a rela ...
I have three tables 'Movie', 'Genre' and it's associated table 'MovieGenre'. What I have to do is to combine the value of Movie table with Genre table ...
I have a Vehicle model: and a VehiclePolicy model: And the EF Core 5 datasets: When I perform a linq query: Is there an easier way to retu ...
How can I take each first element in the group with EF 5 ? I am getting not supported exception. How to correctly rewrite query? Thanks. ...
Hello Guys I would like to ask if I can actually somehow use Entity Framework Core 5.0 on UWP. I am trying to upgrade from EF Core from 2.1 to 5.0 I ...
We're using EF Core within a context where we always manage the transaction externally. We also have to use MARS. This combination causes the followin ...
In my model I have 2 classes: ParticipantCompany and ParticipantPerson who both inherit from Participant and have string property .Name. They also bot ...
I have one-to-many relationship database. DbSet Companies being "One" and DbSet Cases being "many". Here's my context and model classes: Database Con ...