ADO.NET Entity Framework 是微软以 ADO.NET 为基础所发展出来的对象关系对应 (O/R Mapping) 解决方案,早期被称为 ObjectSpace,现已经包含在 Visual Studio 2008 Service Pack 1 以及 .NET Framework 3.5 Service Pack 1 中发表。 Entity Framework 6.1 发布,此版本包括一些 bug 修复和新特性。 新特性如下: Tooling consolidation provides a consistent way to create a new EF model.
Handling of transaction commit failures provides the new System.Data.Entity.Infrastructure.CommitFailureHandler which makes use of the newly introduced ability to intercept transaction operations. IndexAttribute allows indexes to be specified by placing an [Index] attribute on a property (or properties) in your Code First model.
The public mapping API provides access to the information EF has on how properties and types are mapped to columns and tables in the database.
Ability to configure interceptors via the App/Web.config file (allowing interceptors to be added without recompiling the application). Migrations model change detection has been improved so that scaffolded migrations are more accurate; performance of the change detection process has also been greatly enhanced. Performance improvements including reduced database operations during initialization, optimizations for null equality comparison in LINQ queries, faster view generation (model creation) in more scenarios, and more efficient materialization of tracked entities with multiple associations.
下载: 最新版本可以在 NuGet 下载。
Visual Studio 2012 和 2013 可以在 Microsoft Download Center 下载。 |