Entity Framework Core 7.0, a planned update to Microsoft’s open-source, cross-platform schema and object linking (ORM), will focus on attributes such as JSON and SQL queries
Also referred to as EF Core 7, or EF7, the update, scheduled for November 2022, will be the next release after the EF Core 6, which arrived last month, according to Microsoft مدونة Blog Post Posted on December 15. There are no plans to release EF Core 6.1, Microsoft said.
One specific topic of investing in EF7 is JSON columns, where users can save and query JSON-based documents stored in relational database columns. The specific ability to provide a mechanism and common patterns to support JSON that can be implemented by any database provider. Plans call for work with the community to align existing implementations of PostgreSQL And MySQL With added support for SQL Server and SQL Server Lite.
It also looks at EF7 in raw SQL queries for unassigned types. This feature will allow applications to perform more types of raw SQL queries without going back to ADO.NET or using third-party libraries.
Microsoft said much of the work planned for EF7 includes improving the data access experience for .NET across different platforms and domains. This includes working in EF Core when needed but also working in other areas, with a focus on platforms like NET MAUI Cross platform development framework, the ASP.NET Core Web development framework and tangle azure Analytics platform.
EF7 is currently targeted for use with .NET 6, but may be updated to the planned .NET 7 release. Other topics focused on in EF7 include:
- Bulk updates provide efficient, datum-based updates to multiple database rows without loading data into memory.
- Lifecycle hooks that allow applications to react when “interesting things happen” in EF code. These bindings allow an application or library to be notified when certain conditions or actions occur for entities, properties, relationships, queries, context instances, and other EF structures.
- Set entities in a hierarchy to separate tables without taking the performance result of assigning a table to each type.
- Enable code generated by
dotnet ef database
scaffoldTo be fully customized.
- Set entries, updates, and deletes (CUD operations) for stored procedures.
- Support value generation when using value converters.