rbhanda
released this
EF Core 6.0 preview 2 is available from NuGet.
New features in preview 2 include:
- Preserve synchronization context in SaveChangesAsync
- Translate String.Concat with multiple arguments
- Smoother integration with System.Linq.Async
- More flexible free-text search
Preview 2 also includes the following new features from preview 1:
- UnicodeAttribute
- PrecisionAttribute
- EntityTypeConfigurationAttribute
- Translate ToString on SQLite
- EF.Functions.Random
- Support for SQL Server sparse columns
- In-memory database: validate required properties are not null
- Improved SQL Server translation for IsNullOrWhitespace
- Database comments are scaffolded to code comments
The .NET Blog announcement has installation instructions and full details.
Assets
2
rbhanda
released this
This is a patch release of EF Core 3.1 containing only updates to dependencies. There are no additional fixes in this release beyond those already shipped in EF Core 3.1.12.
Assets
2
rbhanda
released this
EF Core 6.0 preview 1 is available on NuGet now!
New features in preview 1 include:
- UnicodeAttribute
- PrecisionAttribute
- EntityTypeConfigurationAttribute
- Translate ToString on SQLite
- EF.Functions.Random
- Support for SQL Server sparse columns
- In-memory database: validate required properties are not null
- Improved SQL Server translation for IsNullOrWhitespace
- Database comments are scaffolded to code comments
For Microsoft.Data.SQLite 6.0 preview 1:
The .NET Blog announcement has installation instructions and full details.
Assets
2
rbhanda
released this
This is a patch release of EF Core 3.1 containing only critical bug fixes.
Assets
2
rbhanda
released this
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
Diagnostics
SaveChanges
Model building
Assets
2
rbhanda
released this
This is a patch release of EF Core 3.1 containing only critical bug fixes.
Assets
2
rbhanda
released this
This is a patch release of EF Core 5.0 containing only important bug fixes.
Change tracking
Migrations
- Model (seed) data with newlines may result in SQL exceptions
- Migration concatenates strings that are escaped
- SQLite Migrations: Missing table name quotes during rebuild
- Foreign keys for tables marked as ExcludeFromMigrations regenerated in every migrations
Model building
- TPH where derived entities each have Required Owned Entities with Required / Non-Nullable Properties throws SqlException
- Error using case-mismatched mapped properties in many to many relationship
- EntityTypeBuilder: .IsRequired() is ignored if used after .OnDelete()
Query
SaveChanges
Assets
2
rbhanda
released this
This is a patch release of EF Core 5.0 containing only important bug fixes.
EF Core 5.0.1
- Query
- Properly generate expression to read provider-specific types from BufferedDataReader
- Owned collection when owner has composite PK throws translation failure
- ArgumentOutOfRangeException for split query with owned types
- Incorrect SQL generated when applying group by over a group by
- KeyNotFoundException when adding a single projection
- Incorrect result when doing owner + Include collection + split query + owned type mapped to different table + single
- InvalidCastException on entities referencing Owned types containing NetTopologySuite Point properties
- Exception when using inheritance with owned properties in the in-memory database
- Ternary operator with DateTimes in select gives ArgumentException
- Object reference not set to an instance of an object exception when using NET Topology Suite in Select projection
- Provider specific plugin method translator never gets called for indexer property
- Model building
- Mapping exception with property called FooId on base type Foo in TPT
- Foreign keys are removed from owned tables when excludedFromMigrations set to true
- Exception in TPT models with default values
- Default schema has no effect on views in EF Core 5.0
- The entity type is part of a relationship cycle involving its primary key
- StackOverflowException when using same collection navigation twice
- StackOverflowException with EFCore 5 many-to-many mapping using many-to-one via self
- DbContext
- Scaffolding
- SaveChanges
- Migrations