Microsoft reveals plans for Entity Framework 7.0
Entity Framework Core seven., a planned update to Microsoft’s open source, cross-system, item-relational mapper (ORM), will aim on themes this sort of as JSON and SQL queries
Also referred to as EF Core seven, or EF7, the update, because of in November 2022, will be the the up coming launch following EF Core 6, which arrived past thirty day period, according to a Microsoft weblog write-up posted December fifteen. There are no strategies for a EF Core 6.one launch, Microsoft mentioned.
Among the the themes slated for investment decision in EF7 is JSON columns, with users capable to conserve and query into JSON-based mostly files stored in relational database columns. The capacity is slated to introduce a popular mechanism and styles for JSON support that can be applied by any database service provider. Strategies call for functioning with the group to align current implementations for PostgreSQL and MySQL while incorporating support for SQL Server and SQL Server Lite.
Also eyed for EF7 are uncooked SQL queries for unmapped varieties. This element would enable applications to execute more varieties of uncooked SQL queries without having dropping down to ADO.Web or using third-occasion libraries.
Microsoft mentioned much perform planned for EF7 involves increasing the details entry expertise for .Web throughout diverse platforms and domains. This involves perform in EF Core exactly where desired but also perform in other places, with a aim on platforms this sort of as the .Web MAUI cross-system progress framework, the ASP.Web Core world-wide-web progress framework, and the Azure Synapse analytics system.
EF7 currently is qualified for use with .Web 6, but may perhaps be up-to-date to a planned .Web seven launch. Other themes eyed for EF7 consist of:
- Bulk updates that supply productive, predicate-based mostly updates for many database rows without having loading details into memory.
- Lifecycle hooks that enable applications to react when “interesting things happen” in EF code. These hooks allow notification of an software or library when certain conditions or actions manifest for entities, attributes, associations, queries, context circumstances and other EF constructs.
- Mapping of entities in a hierarchy to separate tables without having having the effectiveness hit of desk-per-type mapping.
- Enabling code created by
dotnet ef database
scaffold
to be entirely customized. - Mapping of inserts, updates, and deletes (CUD operations) to stored techniques.
- Assistance for value technology when using value converters.
Copyright © 2021 IDG Communications, Inc.