EF Core 6.0 Preview 7
Pre-release
Pre-release
rbhanda
released this
11 Aug 15:24
·
4629 commits
to main
since this release
EF Core 6.0 preview 7 is available from NuGet
Preview 7 contains the first cut of Migration Bundles. Preview 7 also includes the following features from previews 1 through 6:
- Support Timeout.InfiniteTimeSpan in SetCommandTimeout
- Support suspending/bypassing the configured DbContext's IExecutionStrategy
- Support 64-bit Identity seed values
- Warn when saving an optional dependent with all null properties when table splitting
- Remove existing schema when HasSchema(null) is called
- Add equivalent of IRelationalDbContextOptionsBuilderInfrastructure to in-memory provider
- Make HasDbFunction on function override implicit ToTable mapping
- Make IScaffoldingModelFactory public
- Uniquify and validate Check Constraint name
- Translate MathF members to SQL functions on SQLite
- Pre-convention model configuration
- Mechanism/API to specify a default conversion for any property of a given type in the model
- Support Ignore() for non entity type candidates
- Reduce EF Core application startup time via compiled models
- Add TagWith overload that gets the filename and line number automatically
- Translate bool ToString for SQL Server
- Scaffold from a database and generate C# 8 nullable reference types
- Translate Substring with single parameter
- Support split queries for projections containing non-navigation collections
- Improve EF Core performance on TechEmpower Fortunes
- Support empty constructor and DbContextOptions constructor in DbContextFactory
- Make DbContext pooling accessible to non-DI applications
- Increase the default maximum context pool size to 1024
- Improvements to optional dependents sharing table with principal
- Detection of trailing underscores when matching backing fields to properties
- Performance gain by recycling relational and ADO.NET objects in query execution
- Allow explicit temporary values to be stored in entity instances
- Default options added to all ToDebugString methods
- Improved logging of array parameter values
- Preserve synchronization context in SaveChangesAsync
- Translate String.Concat with multiple arguments
- Smoother integration with System.Linq.Async
- More flexible free-text search
- 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
And for Microsoft.Data.Sqlite:
- Support the new BCL DateOnly and TimeOnly structs for SQLite
- Fall back to case-insensitive matches for
SqliteDataReader[<string>]
- Add Span overloads to SqliteBlob
See GitHub for all issues resolved in preview 6.