你好,游客 登录 注册 搜索
背景:
阅读新闻

Entity Framework 6.1 beta 发布

[日期:2014-02-13] 来源:oschina.net  作者:Linux [字体:大 中 小]

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).

    • System.Data.Entity.Infrastructure.Interception.DatabaseLogger is a new interceptor that makes it easy to log all database operations to a file.

  • 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 下载。

linux
相关资讯       Entity Framework 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款