EntityFramework.Docs
EntityFramework.Docs copied to clipboard
Documentation for Entity Framework Core and Entity Framework 6
Please add an example(or link to example) how to use [Enter feedback here] --- #### Document Details ⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub...
To make it easier for contributors and provider authors to understand the code. **Please comment on this issue with internal areas you would like to see documented.** Working list of...
We are using EF Core code first with an SQLite database. Recently I made a change to a model, added a migration, applied it, and everything looked good. But after...
The section "Tracking, no-tracking and identity resolution" should be updated to include information about `AsNoTrackingWithIdentityResolution()`. Especially the performance results should be updated to include that method. --- #### Document Details...
The page https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/records mentions this: > # When to use records > ## Value equality > Not all data models work well with value equality. For example, [Entity Framework Core](https://learn.microsoft.com/en-us/ef/core/)...
This warrants mentioning because of the dramatic perf improvement on non-SQL Server databases. Part of this was done for preview6: https://github.com/dotnet/efcore/issues/30955 The other part (hopefully!) for rc1: https://github.com/dotnet/efcore/issues/31386
In the `An example solution (single database)` section of this page, it states that the callbacks have been omitted for clarity. In my opinion, it is actually more confusing to...
I have a temporal table in my database that I'm using in a Sql TVF. I've also associated the sql function to a C# method. When I call that method...
And possibly the other interceptors [introduced in EF 7](https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/whatsnew#new-and-improved-interceptors-and-events).
in [Resolving concurrency conflicts](https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=data-annotations#resolving-concurrency-conflicts): > Or if your application is performing an automated update, it can simply loop and retry immediately, after re-querying the data. > ... > 2. Use...