Entity Framework Improvements in Visual Studio 2010 SP1
The information in this post is out of date.
Visit msdn.com/data/ef for the latest information on current and past releases of EF.
Today’s release of Visual Studio 2010 SP1 includes several performance and stability improvements for Entity Framework 4.0. MSDN subscribers can download the service pack immediately, and the release will have general availability on Thursday, March 10.
- Download Service Pack 1 (MSDN Subscribers)
- Thursday's general availability download is here .
Here’s what new in SP1 for Entity Framework:
Performance Improvements for Large Models
The most notable improvement is performance in the designer (or at the command-line using EDMGen.exe) when working with large models. In Visual Studio 2010, reverse-engineering a model from a medium to large database (>200 tables) would take an unnecessarily long time. With SP1, a large model (for example, 500 tables) can now be reverse-engineered within seconds.
Bug Fixes for Self-Tracking Entities
Edmxes and HandleCascadeDelete
Self-Tracking Entity Template fails to generate code for function imports that don’t have a return value
Entity does not get marked as modified when FK association is nulled via EntityReference.EntityKey
Miscellaneous code-generation changes to conform to VB pretty-lister guidelines
Template generates uncompilable code for dot-separated namespaces
Template doesn’t generate default values for scalar properties on complex types