EF Core 5.0 Preview 8 Released

EF Core 5.0 Preview 8 features table-per-type (TPT) mapping, SQLite table rebuilds for migrations, and table-valued functions.

Recently, the Entity Framework Core team announced the eighth and final preview release of EF Core 5.0. This release includes table-per-type (TPT) mapping, SQLite table rebuilds for migrations, table-valued functions, and more. The preview also includes several bug fixes.
 
EF Core 5.0 now allows mapping each .NET type in an inheritance hierarchy to a different database table; known as table-per-type (TPT) mapping. EF Core 5.0 Migrations now supports automatic rebuilding the table for schema changes that require it.
 
 
Source: Microsoft
 
EF Core now also includes first-class support for mapping .NET methods to table-valued functions. You can use these functions in LINQ queries where additional composition on the results of the function will also be translated to SQL.
 
Now you can also map the same entity type to different database objects. These objects may be tables, views, or functions. Split queries can now be configured as the default for any query executed by the DbContext. As this configuration is only available for relational providers, you must specify it as part of the UseProvider configuration.
 
For additional details, you can visit the official announcement here.


Next Recommended Reading EF Core 5.0 Is Now Available