News

Entity Framework Preview 7s Ship

Microsoft shipped the seventh previews of Entity Framework Core 3.0 and Entity Framework 6.3, as the whole .NET Core 3.0 offering has become production-ready in its own Preview 7.

As the company announced in May with Entity Framework 6.3 Preview, it has taken the traditional open source object-relational mapping (ORM) framework to the .NET Core space, joining Entity Framework Core as an option for leveraging the upcoming.NET Core 3.0.

Entity Framework was originally part of the traditional 17-year-old Windows-based .NET Framework, but with Entity Framework 6 the runtime was separated from that platform.

Microsoft described the two offerings thusly:

  • Entity Framework 6 (EF6) is a tried and tested object-relational mapper (O/RM) for .NET with many years of feature development and stabilization.
  • Entity Framework (EF) Core is a lightweight, extensible, open source and cross-platform version of the popular Entity Framework data access technology.

In announcing EF Core 3.0 Preview 7, Microsoft said it has made progress in improving query functionality in its new LINQ implementation, with which the dev team has struggled.

"For example, the translation of GroupBy, auto-include of owned types, and query tags are now functional again," said Diego Vega, program manager, .NET Data Access, in a July 23 blog post. "Also, for the first time in EF Core, we now support SQL translation of LINQ set operators like Union, Concat, Intersect, and Except.

"You can still expect some common query functionality to be missing or broken in this preview. Examples of this are the explicitly compiled query API, and global query filters. But all the major pieces should be in place by preview 8, and after that, our focus will be on improving the quality of the release."

Another new feature in Preview 7 is a new API for the interception of database operations, similar to the EF 6 interception feature. "It enables writing simple logic that is invoked automatically by EF Core whenever, for example, a database connection is opened, a transaction is committed or a query is executed," Vega said. "Interceptors usually allow you to intercept operations before they happen or after they happen. When you intercept them before they happen, you are allowed to by-pass execution and supply alternate results from the interception logic."

Other new features that had been planned have been postponed as the dev team focuses on improving quality of existing functionality.

Regarding EF 6.3 Preview 7, Vega said " we have completed the majority of the work necessary for the EF 6.3 package to work on .NET Core project, and with NuGet PackageReference in all types of projects."

"We encourage you to install these previews to try the new features, and to validate that all the functionality required by your applications is available and works correctly," he said. "As always, we hope you'll report any issues you find on GitHub."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

  • Copilot Agentic AI Dev Environment Opens Up to All

    Microsoft removed waitlist restrictions for some of its most advanced GenAI tech, Copilot Workspace, recently made available as a technical preview.

Subscribe on YouTube