efcore
efcore copied to clipboard
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
Some ideas: * Can dotnet-ef use the MSBuild object model? * See https://github.com/NuGet/NuGet.Client/blob/fe240c4f457b30050e963dc19f916773ddf21d38/src/NuGet.Clients/NuGet.CommandLine/MsBuildUtility.cs * Makes #18060 and https://github.com/dotnet/efcore/issues/23853 easier * Consider shipping `EntityFrameworkCore.targets` in `buildTransitive` instead of creating dynamically. *...
Our primitive collections feature currently supports `IList` only, e.g. `HashSet` doesn't work for mapping a database primitive collection. Note that EF maps primitive collections to JSON arrays (or PG arrays...
EF Core currently doesn't support configuring composite keys using expressions. For a "normal" (atomic?) key, you can specify: ```csharp modelBuilder.Entity().HasKey(c => c.AccountNumber); ``` or ```csharp modelBuilder.Entity().HasKey("AccountNumber"); ``` Consider this schema:...
## Structured data in nested Json can't be set to null Currently it is not possible to update nested structured data in a json column to null, just by attaching...
Searching for a complete match of the properties of an element in an array that is mapped as jsonb does not work. Expected behavior - an SQL query similar to...
- TPT - Entity splitting - TPC (when the delete is not based on key) We can support via multiple commands in same batch. Could be complicated to figure out...
When adding a new required field without a default value a default value. And adding creating a migration afterwards the up migration contains: - an "add column step" - with...
Today, a lot of people end up deploying all of their migrations with their app. If they're applying those migrations as part of deployment, they just sit there taking up...
## Description In our project we use explicit lazy loading of all associations. When loading entities via a many-to-many association (something like **Airports** - **Airlines** where an **Airport** can host...
- [x] I've read the guidelines for [contributing](CONTRIBUTING.md) and seen the [walkthrough](https://youtu.be/9OMxy1wal1s?t=1869) - [x] I've posted a comment on an issue with a detailed description of how I am planning...