I am already using transactions inside my repository functions in some cases because I sometimes need to insert data into two tables at once and I wan ...
I am already using transactions inside my repository functions in some cases because I sometimes need to insert data into two tables at once and I wan ...
Problematic code (Present in Core.run() below) Decription of problem Database doesn't exists Exec first time console program, code above in u ...
I am trying to parameterize a SQL statement that I am executing with Entity Framework Core 6. The parameters are not working as expected. I expect all ...
EF Core 6 provides a feature called "Compiled Models" for better query performance (10x faster) but ABP V7.x cannot run compiled models. It throw the ...
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 a model created with EF Core (code first), and one of my properties tries to access a lazy loaded proxy, as below: If I try to access the pr ...
I have the following LINQ query (using EF Core 6 and MS SQL Server): The requirement is to retrieve the system matching the requested ID and load i ...
. Answers to this question are eligible for a +50 reputation bounty. Hi ...
Let's say I have 2 tables Students & Grades which look like this: Students Grades I want to write a method which takes studentId and return ...
I am working a asp.net core 6.0 project query = query.Where(d => EF.Functions.ILike(d.Id.ToString(), $"%{keyword}%")); When I try to use ILike, ...
I am trying to achieve a many-many-relationship, but I get: The child/dependent side could not be determined for the one-to-one relationship betwe ...
I have a Linq2Sql Query like this: This worked fine until moving from EF core 5 to EF core 6. With EF core 6 the result list contains some null val ...