September 6, 2018

Sreekanth B

What are Latest Features and Improvements In Entity Framework 6.2

While most of the focus of the Entity Framework team is nowadays on adding new features and improvements to Entity Framework Core, we plan to keep fixing important bugs, implementing small improvements, and incorporating community contributions in the Entity Framework 6 codebase.

To a great extent, it is thanks to the efforts our community of open source contributors that Entity Framework 6.2 includes numerous bugs fixes and product enhancements.

The most important changes were already detailed in the beta 1 announcement last May.

What are Latest Features and Improvements In Entity Framework 6.2
What are Latest Features and Improvements In Entity Framework 6.2

Here is a brief list of the most important changes affecting the run-time:
  • Reduce start up time by loading finished code first models from a persistent cache.
  • Fluent API to define indexes.
  • DbFunctions.Like() to enable writing LINQ queries that translate to LIKE in SQL.
  • Migrate.exe should support -script option.
  • Entity Framework 6 does not work with primary key from sequence.
  • Update error numbers for SQL Azure Execution Strategy.
  • Bug: Retrying queries or SQL commands fails with “The SqlParameter is already contained by another SqlParameterCollection”.
  • Bug: Evaluation of DbQuery.ToString() frequently times out in the debugger.
  • Where are the Entity Framework 6.2 tools for Visual Studio?
  • We decided that we still needed to complete some work on the tools before we could declare them “final”.
However, it did not make sense to delay the release of the runtime packages:

Since the release of the beta last May, we have received enough feedback to validate the release, and only minor adjustments have been necessary.

The Entity Framework 6.2 run-time is fully compatible with released versions of our Visual Studio tools. You should only need to manually upgrade the NuGet packages in your applications.

Once we finish the work on the tools, we will include them in an upgrade of Visual Studio 2017 as well as in downloadable installers for previous versions.

The future of Entity Framework Power Tools?

Last July, one of our main contributors, Erik Ejlskov Jensen, decided to pursue future development of the Entity Framework Power Tools, creating his own fork labeled “Community Edition”. The source code is available at and the latest released version of the Visual Studio extension is available in the Visual Studio Marketplace. We encourage you to try this version if you enjoy the features provided by the project, especially if you need them on newer versions of Visual Studio.

Subscribe to get more Posts :