Entity Framework版本历史概览


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 theCommitFailureHandler 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

时间: 2024-08-07 00:30:57

Entity Framework版本历史概览的相关文章

【Entity Framework系列】Overview - 版本历史概览

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

.NET和C#版本历史概览

发布日期 .Net版本 C#版本 CLR版本 开发工具 功能介绍 2002 1.0 1.0 初始版本 Visual Studio .Net 初始版本 .NET框架结构,详见: 2003 1.1     Visual Studio 2003 ASP.NET 移动控件 ADO.NET增强(ODBC.Oracle.分布式事务) 多版本共存(Side-by-Side Execution) Etc. see: http://msdn.microsoft.com/en-us/library/h88tthh0

Entity Framework 学习笔记(一)之数据模型 数据库

关于Entity Framework  数据模型 的开发有三种模式:1.引用数据库方式:2.在VS中新建EF空模型Model 方式:3.Code 方式 Entity Framework  数据模型  引用"引用数据库方式"进行开发创建的使用,具体如下: 开发环境:VS2012 数据库:SQL Server 2008 Entity Framework  版本:6.12 1.新建数据库 在数据库中新建数据库,并创建数据表,以下截图只供参考: 2.新建项目 在VS中新建一个控制台应用程序 F

Entity Framework 学习笔记(二)之数据模型 Model 使用过程

欢迎大家加入我们:ASP.NET交流群(1群) ExtJs4.2交流群(3群) 97869295 Entity Framework  数据模型 Model 创建的使用: 开发环境:VS2012 数据库:SQL Server 2008 Entity Framework  版本:6.12 下面是新建的项目架构:(当然这是我的项目架构,只是参考) 1. 新建项目 新建一个控制台项目即可 :Future.LifeWillBetter.DAL.ForModel.ConsoleApplication 如图:

Entity Framework的启动速度优化

刚开始的时候没有太在意,但是随着系统的发布,这种初次请求,或者闲置若干时间后第一次请求的漫长等待使得App的体验很差,很多时候App加载好半天数据都没过来.如果前端没处理好,还会导致App的假死.所以就花了点功夫研究下什么原因导致. 刚开始的时候,还以为是WebService的框架出了问题.后面使用App,通过Fiddler看到了,某次请求db.竟然长达6s中,并且每次导致请求超时都出现在db.访问这一块,这显然不正常.早期,我们访问数据库使用的是原始的ADO.NET 执行SQL语句,如果有参数

Entity Framework 5.0.0 Function Import 以及 Implicit REF CURSOR Binding

源代码 概要:1,明如何使用Entity Framework中的function import功能. 2,说明如何使用ODP.NET的隐式REF CURSOR绑定(implicit REF CURSOR binding). 环境以及工具: Windows 10 企业版 Microsoft Visual Studio Enterprise 2015 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 .NET Framework 4.

关于Entity Framework自动关联查询与自动关联更新导航属性对应的实体注意事项说明

一.首先了解下Entity Framework 自动关联查询: Entity Framework 自动关联查询,有三种方法:Lazy Loading(延迟加载),Eager Loading(预先加载),Explicit Loading(显式加载),其中Lazy Loading和Explicit Loading都是延迟加载. (注:由于Entity Framework版本的不同,以及采用不同的模式(DB First,Model First,Code First)来构建的Entity,最终导致可能自

重新认识了下Entity Framework

什么是Entity Framework Entity Framework是一个对象关系映射O/RM框架. Entity Framework让开发者可以像操作领域对象(domain-specific objects)那样操作关系型数据(relational data). Entity Framework减少了大部分通常需要编写的数据操作代码. Entity Framework中可以使用LINQ来查询数据,使用强类型(strongly typed objects)来检索和操作数据. Entity F

转:【工欲善其事必先利其器】—Entity Framework实例详解

开始本篇文章之前,先说一下Entity Framework 6 Alpha1在NuGet中已可用,原文链接http://blogs.msdn.com/b/adonet/archive/2012/10/30/ef6-alpha-1-available-on-nuget.aspx 俗话说:“工欲善其事必先利其器”,在深入讲解Entity Framework之前,先准备一下开发工具以及前期的配置. 一.开发工具 开发工具基本略过,这里说一下,我使用的是Visual Studio 2012,Entity