BT

InfoQ Homepage News Microsoft Releases Entity Framework Core 3.0 Preview 7 and Entity Framework 6.3 Preview 7

Microsoft Releases Entity Framework Core 3.0 Preview 7 and Entity Framework 6.3 Preview 7

This item in japanese

Bookmarks

Last week Microsoft released Entity Framework Core 3.0 Preview 7 and Entity Framework 6.3 Preview 7.

Entity Framework 6 (EF6) was first released in 2008 and runs on the .NET Framework 4.x (available only on Windows). Entity Framework Core (EF Core) is a complete cross-platform rewrite of EF6 that can run on .NET Core or .NET Framework. A detailed feature comparison between EF Core and EF6 can be found here.

The new previews were made available on the same day as .NET Core 3.0 Preview 7 and ASP.NET Core 3.0 Preview 7. The release schedule for EF Core is in-sync with the .NET Core release schedule.

Supporting EF6 on .NET Core is one of the major features for the EF6.3 release. With the release of Preview 7, the majority of the work related to this feature has been completed.

One of the major roadmap goals of EF Core 3.0 involves making profound changes in the existing LINQ implementation. Related updates in Preview 7 include support to SQL translation of LINQ set operators like Union, Concat, Intersect, and Except. The release also includes a new API for intercepting database operations (similarly to the interception feature in EF6). Intercepting database operations allow simple logic (interceptors) to be invoked before or after database operations happen (such as committing a transaction or opening a connection).

Other changes include the postponing of two major features, originally planned for EF Core 3.0: support for property bag entities and the ability to ignore parts of the model for migrations. Also, a list of breaking changes (changes that have the potential to break applications developed for EF Core 2.2.x) is being kept up-to-date on every preview.

EF Core 3.0 and EF6 are both distributed as NuGet packages. Given the rapid pace of development in EF Core 3.0, Microsoft recommends switching to the nightly build of Preview 8 to try fixes that are not included in Preview 7.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.