BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

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

by Anand Narayanaswamy on Aug 27, 2013 |

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.

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.

Tell us what you think

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

Email me replies to any of my messages in this thread
Community comments

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT