EF Core 5.0.3
This is a patch release of EF Core 5.0 containing only important bug fixes.
Query
- InMemory: Decompose join condition which uses equals for comparison
- IQueryable.All evaluates to false with predicate _ => true
- Loading entity from DB does not properly load owned entities (In memory provider)
- AsSingleQuery can not be translated by in-memory provider
- TryRewriteEntityEquality and NotEqual comparison of CompositePrimaryKey
Migrations
- Builder method mismatch across providers in model snapshot
- MigrationBuilder.InsertData not considering column types passed in
- EF Core generates the same migration even though nothing has changed in the model
- Mangled migration generated when altering database collation
Change tracking
- Adding a join entity instance doesn't populate collections on the participating entities
- Can not build relationships when attach disconnected entities which have many-to-many related entities