EntityFramework.Docs
EntityFramework.Docs copied to clipboard
Documentation for Entity Framework Core and Entity Framework 6
I have a type which already exists in my database. We've expanded this type and added new required properties to it. However this causes the deserialization to fail since these...
Hi Referencing https://github.com/dotnet/efcore/issues/30752 the table in [Optional relationship with dependents/children loaded](https://learn.microsoft.com/en-us/ef/core/saving/cascade-delete#optional-relationship-with-dependentschildren-loaded) is no longer correct according to discussion in the aforementioned issue. It should be clearly stated that on severing...
Most of the `UsingEntity()` examples here indicate that the first `Func` parameter configures the Left side and the second `Func` parameter configures the Right side. However, IntelliSense for this function...
In the `Scaffolding other types of files`, you provided an T4 example, but not mentioned about the filename and where should I put it into. I don't know how to...
I came across this page looking for already-compiled benchmark/performance info on the difference between AsNoTracking() and AsNoTrackingWithIdentityResolution() for cases where the resulting graph contains multiple references to the same document....
#### Specific Case The [sample to request design time services](https://github.com/dotnet/EntityFramework.Docs/blob/6c094b998fcf89041e27dee0f012cdbb2876bb27/samples/core/Miscellaneous/CommandLine/CustomTools.cs) throws an `InvalidOperationException` (when executed with [.NET 6 / ef7](https://github.com/dotnet/EntityFramework.Docs/blob/main/samples/core/Miscellaneous/CommandLine/CommandLine.csproj)): ```text Unhandled exception. System.InvalidOperationException: Unable to resolve service for type...
[The page](https://learn.microsoft.com/en-us/ef/core/performance/advanced-performance-topics?tabs=with-di%2Cexpression-api-with-constant#limitations-1) currently lists four limitations for using compiled models: * Global query filters are not supported * Lazy loading and change-tracking proxies are not supported * The model must...
The [Design-time DbContext Creation](https://learn.microsoft.com/en-us/ef/core/cli/dbcontext-creation) article in the docs explains how some EF Core Tools commands need to instantiate the application's `DbContext` in order to gather certain information, and that in...
ITNOA as you can see in https://stackoverflow.com/q/77083494/1539100 , I expect see some example in docs to resolve below problem I'm working with Entity Framework Core (EF Core) and have encountered...
Remarks section incorrectly links to INotifyPropertyChanging twice, instead of linking to INotifyPropertyChanged in one of those places. > The collection implements [INotifyCollectionChanged](https://learn.microsoft.com/en-us/dotnet/api/system.collections.specialized.inotifycollectionchanged), [INotifyPropertyChanging](https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.inotifypropertychanging), and **[INotifyPropertyChanging](https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.inotifypropertychanging)** such that notifications are generated...