Release Candidate of First Open Source Entity Framework Available
Release Candidate of First Open Source Entity Framework Available
Written by Kay Ewbank   
Friday, 23 August 2013

The Release Candidate for Entity Framework 6 is now available for download, with improvements including Async language support, multi-tenant migrations, and support for custom Code First conventions.

This is the first open source version of EF6 being developed in CodePlex, and it represents a major upgrade from EF5.

The custom convention support means you can now write custom conventions for Code First to help avoid repetitive configuration. There’s a simple API for lightweight conventions, along with some more complex building blocks that will let developers write more complicated conventions. You can view a walkthrough of both options on MSDN's Data Developer Center.

Async Query and Save means EF6 now supports the new simplified approach to asynchronous programming introduced in Visual Studio 2012 and .NET 4.5. The simplified approach means the compiler handles the management of the asynchronous elements, and your app retains a simpler logical structure that resembles synchronous code. EF6 supports the task-based asynchronous patterns such as SaveChanges and LINQ methods that execute queries such as First and ToList. There’s a walkthrough of the feature on MSDN's Data Developer Center.

The addition of multiple contexts per database (formerly known as 'multi-tenant migrations') overcomes the limitation in previous versions of EF where you were limited to one Code First model per database when using Migrations or when Code First automatically created the database for you. This limitation is now removed.

Other improvements include support for code-based configuration rather than using a config file; dependency resolution has added support for the Service Locator pattern; and support for enums and spatial data types. This support has been added by moving the core components that used to be in the .NET Framework into the EF NuGet package, which also means you can benefit from the performance improvements from EF5 on .NET 4.0.

The release candidate is feature complete, and the final release of EF6 will be made available at the same time as Visual Studio 2013 later this year. The runtime is available on NuGet and the tooling for Visual Studio 2012 is available on the Microsoft Download Center.

entityframework13

Banner


Orion 16 Improves Node Server
09/10/2017

There's a new release of Orion, the Eclipse cloud IDE, with improvements to the Node.js server, language tooling, and trial debugger support.



What Intelligent Machines Can Learn From A School Of Fish
07/10/2017

We haven't reported a good TED talk on AI or programming for some time, perhaps because they are getting thinner on the ground. This one, however, is very good indeed and if you are interested in floc [ ... ]


More News

 

Last Updated ( Friday, 23 August 2013 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2017 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.