EF Core 5.0 Preview 5
Pre-release
Pre-release
EF Core 5.0 preview 5 is on NuGet now!
New features in preview 5 include:
- Database collations
- Flow arguments into IDesignTimeDbContextFactory
- No-tracking queries with identity resolution
- Stored (persisted) computed columns
- SQLite computed columns
Remember that all these preview 1, 2, 3, and 4 features are also included in preview 5:
- Configure database precision/scale in model
- Specify SQL Server index fill factor
- Filtered Include
- Command-line parameters for namespaces when scaffolding a DbContext or generating migrations
- Command-line support for passing a connection string to [dotnet ef database update]/[Update-Database]
- EnableDetailedErrors provides more information in query mapping exceptions
- Improved support for using Cosmos partition keys in queries
- New ModelBuilder API for navigation properties
- Support for the SQL Server DATALENGTH function
- Use a C# attribute to specify a property backing field
- Complete discriminator mapping
- Performance improvements in Microsoft.Data.Sqlite
- Simple Logging
- Simple way to get generated SQL
- Use a C# attribute to indicate that an entity has no key
- Connection or connection string can be changed on initialized DbContext
- Change-tracking proxies
- Enhanced debug views
- Improved handling of database null semantics
- Indexer properties
- Generation of check constraints for enum mappings
- IsRelational method for differential model building
- Cosmos optimistic concurrency with ETags
- Query translations for more DateTime constructs
- Query translations for more byte array constructs
- Query translation for Reverse
- Query translation for bitwise operators
- Query translation for strings on Cosmos
- Use a C# attribute to specify a property backing field
- Complete discriminator mapping
- Performance improvements in Microsoft.Data.Sqlite
The .NET Blog announcement has installation instructions and full details.