Entity Framework版本历史概览

简介: 转自:http://www.cnblogs.com/fecktty2013/archive/2014/09/26/entityframework-overview.html   EF版本 .

 转自:http://www.cnblogs.com/fecktty2013/archive/2014/09/26/entityframework-overview.html

 

EF版本 .net framework和IDE版本 主要功能
EF(or EF3.5) Visual Studio 2008 SP1 (.NET 3.5 SP1) 基本的O/R映射支持,使用DB First开发模式
EF 4 Visual Studio 2010 (.NET 4.0) 支持POCO实体
延迟加载
提高单元测试能力
自定义的代码生成机制
支持Model First开发模式
EF 4.1 NuGet 提供简化的DbContext接口
支持Code First开发模式
EF 4.1.1 过渡版本 支持Power Tools工具
EF 4.2 过渡版本 解决bug并优化
EF 4.3 Visual Studio 2010 (.NET 4.0) 基于Code First开发模式的代码迁移策略 Migrations
EF 4.3.1 Visual Studio 2012 (.NET 4.5) 提供对 LocalDb 数据库的支持
EF 5 Visual Studio 2012 (.NET 4.5) 提供对枚举类型的支持
Table-Valued functions表值函数
空间数据类型(spatial types)
整体性能优化提升
实体模型设计器、多图模型
批量导入存储过程
EF 6 Visual Studio 2013 (.NET 4.5) Power Tools加强
EF脱离Visual Studio和.NET通过NuGet单独发布
可配置不稳定连接的重试次数等
支持.NET 4.5中基于Task的异步编程模式 Async Query and Save
优化的配置选项 Code-Based Configuration
支持依赖注入和服务定位 Dependency Resolution
低级的EF拦截器及SQL日志 Interception/SQL Loggin
使用Mock单元测试
using a mocking framework or writing your own test doubles
使用已有的DbConnection创建DbContext
提升事务支持 Improved Transaction Support 
优化LINQ to Entities查询性能
优化(View Generation)性能
支持自定义实现Entity的Equals和GetHashCode方法
DBSet.AddRange/RemoveRange
DbChangeTracker.HasChanges
扩展的SqlFunctions,SqlCeFunctions
EF 6.0.1 Visual Studio 2013 (.NET 4.5) fix some performance issues during warm-up for EF models.
EF 6.0.2 Visual Studio 2013 (.NET 4.5) The tooling for Visual Studio 2012 and Visual Studio 2013 is
available on the Microsoft Download Center. You only need to
install the tooling if you want to use Model First or Database First
EF 6.1 Visual Studio 2013 (.NET 4.5)

Tooling consolidation provides a consistent way to create a new EF model. This feature extends the ADO.NET Entity Data Model wizard to support creating Code First models, including reverse engineering from an existing database. These features were previously available in Beta quality in the EF Power Tools.

Handling of transaction commit failures provides the CommitFailureHandler which makes use of the newly introduced ability to intercept transaction operations. The CommitFailureHandler allows automatic recovery from connection failures whilst committing a transaction

IndexAttributeallows indexes to be specified by placing an [Index] attribute on a property (or properties) in your Code First model. Code First will then create a corresponding index in the database

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. In past releases this API was internal

相关文章
|
存储 XML 安全
Java 近期新闻综述:CVE-2022-22968、Vector API、Jakarta EE 10 更新、IntelliJ IDEA 2022.1、Ktor 2.0
Java 近期新闻综述,内容主要涉及 OpenJDK、JEP 426、JDK 19、Jakarta EE 10 更新、Spring Framework 点版本、CVE-2022-22968、Quarkus 2.8.0、Open Liberty 22.0.0.4 和 22.0.0.5-beta、Micronaut 3.4.2、WildFly 26.1、Eclipse GlassFish 7.0-M4、Piranha 22.4.0、Apache Camel Quarkus 2.8.0、IntelliJ IDEA 2022.1、Ktor 2.0 和 Devnexus 2022 大会。
383 0
|
数据库
Entity Framework 迁移
Entity Framework 迁移
100 0
|
存储 SQL 数据库
Entity Framework Core 捕获数据库变动
Entity Framework Core 捕获数据库变动
155 0
如何查看 ToggleStatusComponent 是否是 SAP Spartacus public API 一部分
如何查看 ToggleStatusComponent 是否是 SAP Spartacus public API 一部分
如何查看 ToggleStatusComponent 是否是 SAP Spartacus public API 一部分