BT

InfoQ Homepage News Entity Framework 6 RC Adds SQL Logging, Testability Improvements and New IntelliSense Documentation

Entity Framework 6 RC Adds SQL Logging, Testability Improvements and New IntelliSense Documentation

Bookmarks

Microsoft recently released Entity Framework 6 Release Candidate with support for Interception, SQL logging in addition to several testability improvements which enables you to create test doubles for DbContext and DbSet.

The release also includes substantial changes in custom code first conventions and code based configuration including support for projects which targets .NET Framework 4. The product team has also made changes and updates to the core API and added intellisense documentation.

The following runtime features are included with Entity Framework 6 which are applicable to both Code First and EF Designer

  • Async Query and Save
  • Connection Resiliency
  • Code Based Configuration
  • Dependency Resolution
  • Interception/SQL logging
  • Testability improvements
  • Enums, Spatial and Better Performance on .NET 4.0
  • Creation of DbContext using an already opened DbConnection
  • Default transaction isolation level is changed to READ_COMMITTED_SNAPSHOT
  • DbContext.Database.UseTransaction
  • DbContext.Database.BeginTransaction
  • Enhancements to Enumerable.Contains in LINQ queries
  • Improved view generation
  • Pluggable Pluralization
  • Singularization Service
  • Improved Transaction Support
  • Custom implementations of Equals or GetHashCode
  • DbSet.AddRange
  • RemoveRange
  • DbChangeTracker.HasChanges
  • SqlCeFunctions

According to Rowan Miller, the tooling does not include new features but most of the new runtime features can be used with models created in the EF Designer.

The following runtime features are applicable only to Code First.

"The final release of EF6 will be made available along with the release of Visual Studio 2013," said Rowan.

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.