I'm pretty sure I've done this in EF Core 6 and it worked before, but now I've upgraded to EF Core 7 and my datetime values are being translated to '0 ...
I'm pretty sure I've done this in EF Core 6 and it worked before, but now I've upgraded to EF Core 7 and my datetime values are being translated to '0 ...
I try to run this code here, in ASP.NET Entity Framework 7. The target is to have the most efficient solution here which should be a JOIN if the datab ...
I wrote a code that EF Core creates an expression for that looks like this: In Reception entity, I have a relation to Signature like this: but w ...
I can't seem to be able to create migration with simplest sql to create PostgreSQL procedure. Error is: Exception data: Severity: ERROR SqlState: ...
Is there a way to annotate a string field in a class with Entity Framework Core 7 to create a full text index on that column, and if yes how can I run ...
I am trying to add data rows to the DB is created using migrations using data in CSV file, but I did not succeeded. The migration is empty. I am 100% ...
I have a query which does a group by and then selects and then tries to apply a Where() filter on the select. but it throws error after I apply the fi ...
This is I guess a bit more sophisticated. I have this model successfully created with EF Core 7 (but I guess it's for all Core versions same behavior) ...
I have the following 3 models: class Owner { public Guid Id { get; set; } public IList<AccessShare> AccessShares { get; set; } = new Li ...
I am new to Entity Framework Core 7 and ASP.NET Core 7 MVC. I am learning the concepts using the Northwind database. I am using a generic repository a ...
How to write this query in EF Core? I tried with: but it is not good performance as two round-trip. I want to write EF Core only one round-trip ...
I am trying to support multi language from the database as the below diagram: I try with the below model: I need to configure the below relation ...
I'm using the new EF 7 ExecuteDelete and ExecuteUpdate features and they are great. But when I try to write unit test for the functions that use them, ...
I am trying to map my Name column to a dynamic object. This is how the raw JSON data looks (note that this is SQL-morphed from our old relational data ...
I have 3 entities: Person, User, and Location. A Person can have multiple Locations A User can have multiple Locations My entities are set up ...
I'm struggling with building and configuring a table with ef core. I have/want an entity/table that shows a relationship between two entities. So I ...
We're using Entity Framework Core 7 along with EF Core Power tools to reverse engineer our SQL Sever db. We have a many to many relationship in our db ...
I am struggling to understand how to apply a custom ValueConverter to all the properties of all the models before every insert and update. According ...
For Unit Testing, I am using EFCore SQLite in-memory db and creating schema as per the MS docs, but when the code attempts to execute EnsureDeleted(). ...
I have this connection string: I use .NET 7 and EF Core 7 - it works fine on my local PC. But when I run this project in a Docker container, it th ...