MSDN:

http://msdn.microsoft.com/en-us/data/aa937723

台湾博客:

http://www.dotblogs.com.tw/yc421206/

http://www.dotblogs.com.tw/terrychuang/archive/2013/03/25/98832.aspx

Entity Framework 5.0系列

http://www.cnblogs.com/kenshincui/category/511593.html

Entity Framework Code First

http://www.cnblogs.com/panchunting/category/540375.html

Entity Framework CodeFirst尝试

http://www.cnblogs.com/aehyok/p/3323496.html===============================================================

博客园的大牛们,被你们害惨了,Entity Framework从来都不需要去写Repository设计模式

http://www.cnblogs.com/leotsai/archive/2014/01/10/entity-framework-doesnt-need-additional-repository.html

分享我们项目中基于EF事务机制的架构

http://www.cnblogs.com/leotsai/p/how-to-use-entity-framework-transaction-scope.html

Entity Framework学习笔记——配置EF

http://www.cnblogs.com/frankofgdc/p/3556598.html

使用ASP.NET Web Api构建基于REST风格的服务实战系列教程【开篇】【持续更新中。。。】

http://www.cnblogs.com/fzrain/p/3490137.html

EF CodeFirst-----简单demo示例

http://www.cnblogs.com/ghhlyy/p/3141439.html

http://www.cnblogs.com/DoduNet/tag/mvc5/  

MVC 5 实例教程(MvcMovieStore 新概念版:mvc5.0,EF6.01) - 4、创建数据上下文和数据实体模型

http://www.cnblogs.com/DoduNet/p/mvcmoviestore-create-dbcontext-and-entities.html

MySql For Entity Framework 6 Code First 例子

http://blog.csdn.net/testkingxqlun/article/details/18814005

Entity Framework SqlFunctions 教你如何在EF调用sqlserver方法的函数存根

http://www.cnblogs.com/kezhiping/p/3873746.html

==========================================================

Entity FrameWork5.0浅析

http://www.cnblogs.com/aehyok/category/516691.html

使用ASP.NET Web Api构建基于REST风格的服务实战系列教程

http://www.cnblogs.com/fzrain/p/3490137.html

成功不需要美学 的 EF文章

http://www.cnblogs.com/panchunting/category/540375.html

杨延成 4.1的教程

http://www.cnblogs.com/yangyancheng/category/297039.html

=================================================================

Local DB

http://www.csdn.net/article/2012-03-29/313675

在visual studio2012中如何使用localDB具体讲解'

http://www.cnblogs.com/zhangran/archive/2012/08/26/2657864.html

引用命名空间:using System.Data.Entity;

实现接口:DbContext

=========================================================

在Entiry Framework中,我们有三种处理数据的方法:Database First,Model First,and Code First.这个教程中,我们使用Code First。关于这三种之间的差别以及具体该选择哪种,可以参考Entity Framework Development Workflows

  • Database First

    If you already have a database, the Entity Framework designer built into Visual Studio can automatically generate a data model that consists of classes and properties that correspond to existing database objects such as tables and columns. The information about your database structure (store schema), your data model (conceptual model), and the mapping between them is stored in XML in an .edmx file. The Entity Framework designer provides a graphical UI that you can use to display and edit the .edmx file.

  • Model First

    If you don't have a database yet, you can begin by creating a model in an .edmx file by using the Entity Framework graphical designer in Visual Studio. When the model is finished, the Entity Framework designer can generate DDL (data definition language) statements to create the database. As in Database First, the .edmx file stores model and mapping information.

  • Code First

    Whether you have an existing database or not, you can use the Entity Framework without using the designer or an .edmx file. If you don't have a database, you can code your own classes and properties that correspond to tables and columns. If you do have a database, Entity Framework tools can generate the classes and properties that correspond to existing tables and columns. The mapping between the store schema and the conceptual model represented by your code is handled by convention and by a special mapping API. If you let Code First create the database, you can use Code First Migrations to automate the process of deploying the database to production. Migrations can also automate the deployment of database schema changes to production when your data model changes.

Choose Code First for new development unless you want to use a graphical designer to model database objects and relationships. The Entity Framework designer only works with Database First and Model First. Before you choose Database First or Model First, however, consider how you want to handle updates to the data model after you create the database, and how you want to deploy the database and deploy updates to it. Code First Migrations automates the process of implementing and deploying database schema changes that result from data model changes. The advantages of Code First Migrations might outweigh the advantages of the Entity Framework designer.

数据库首先

如果您已经有一个数据库,构建于Visual Studio中的实体框架设计器可以自动生成包括对应于现有的数据库类和属性对象,如表和列的数据模型。有关数据库的结构(存储模式) ,你的数据模型(概念模型) ,以及它们之间的映射信息存储在XML中。edmx文件。实体框架设计器提供了一个图形化的用户界面,你可以用它来显示和编辑。edmx文件。

模型首先

如果你没有一个数据库,但你可以通过在。 edmx文件创建一个模型首先使用实体框架图形设计在Visual Studio。当模型完成后,实体框架设计器可以生成DDL (数据定义语言)语句来创建数据库。由于在数据库一, 。 edmx文件存储模型和映射信息。

代码优先

无论你是否有一个现有的数据库或没有,你可以使用实体框架不使用设计器或一个。 edmx文件。如果你没有一个数据库,你可以编写自己的类和属性的对应表和列。如果你有一个数据库中,实体框架工具可以生成对应于现有的表和列的类和属性。存储架构和代码所代表的概念模型之间的映射是通过约定并以特殊的映射的API来处理。如果你让代码首先创建数据库时,可以使用代码优先迁移到自动将数据库部署到生产过程中。迁移也可以自动的数据库架构更改部署到生产时,你的数据模型的变化。

选择代码第一次新的发展,除非你想使用一个图形设计模型的数据库对象和关系。实体框架设计只适用于数据库的第一和模型优先。在您选择数据库第一或型号不过,首先考虑你要如何处理更新的数据模型创建数据库之后,您希望如何部署数据库和部署更新它。代码优先迁移自动化实施和部署所造成的数据模型更改数据库架构更改的过程。代码优先迁移的优势可能会大于实体框架设计的优点。

EF6 在 SQLite中使用备忘

http://www.cnblogs.com/adswads/p/3808549.html

ASP.NET MVC + EF 利用存储过程读取大数据,1亿数据测试很OK

http://www.cnblogs.com/kezhiping/archive/2014/07/30/3878049.html

2014年7月31日22:54:33------Code First, Database First, Same Time区别

http://www.cnblogs.com/HelpQY/archive/2014/07/31/3873443.html

2014年7月31日22:55:48----ASP.NET MVC+EasyUI+Entity FrameWork 整合开发

http://www.cnblogs.com/kezhiping/p/3868527.html

解决 EF 分层查询的一个性能问题

http://www.cnblogs.com/xiaokangufo/archive/2014/08/09/3901402.html

7行代码看EntityFramework是如何运行

http://www.cnblogs.com/ttrjba/archive/2014/09/16/3974055.html

=============================================================2014年10月8日08:38:10

EF Code First之困扰

http://www.cnblogs.com/hambert/archive/2014/09/29/3999901.html

ADO.NET Entity Framework 在哪些场景下使用?

http://www.cnblogs.com/indream/archive/2014/10/26/4052671.html

ADO.NET Entity Framework 在哪些场景下使用?- 2014年10月30日21:15:28

http://www.cnblogs.com/indream/archive/2014/10/26/4052671.html

EF Code First 一对多、多对多关联,如何加载子集合?

http://www.cnblogs.com/xishuai/archive/2014/10/30/ef-code-first-loading-filtered-child-collections-for-many-to-many.html

【记录】EF Code First 实体关联,如何添加、修改实体?

http://www.cnblogs.com/xishuai/p/4079097.html

EntityFramework:支持同一事务提交的批量删除数据实现思路

http://www.cnblogs.com/yghost/p/4130557.html

EF之MSSQL分布式部署一:EFContext自定义数据库链接

http://www.cnblogs.com/lmBlock/archive/2014/11/30/4133680.html

EntityFramework 7 smallint short 奇怪问题(已解决)

http://www.cnblogs.com/xishuai/archive/2014/12/01/ef7-smallint-short-where.html

EntityFramework:支持同一事务提交的批量删除数据实现思路

http://www.cnblogs.com/yghost/p/4130557.html

Entity Framework 学习整理的更多相关文章

  1. Entity Framework 学习整理(分播客整理)

    MSDN: http://msdn.microsoft.com/en-us/data/aa937723 台湾博客: http://www.dotblogs.com.tw/yc421206/ http: ...

  2. Entity Framework 学习笔记(2)

    上期回顾:Entity Framework 学习笔记(1) Entity Framework最主要的东西,就是自己创建的.继承于DbContext的类: /// <summary> /// ...

  3. Entity Framework学习笔记

    原文地址:http://www.cnblogs.com/frankofgdc/p/3600090.html Entity Framework学习笔记——错误汇总   之前的小项目做完了,到了总结经验和 ...

  4. Entity Framework 学习中级篇1—EF支持复杂类型的实现

    本节,将介绍如何手动构造复杂类型(ComplexType)以及复杂类型的简单操作. 通常,复杂类型是指那些由几个简单的类型组合而成的类型.比如:一张Customer表,其中有FristName和Las ...

  5. MVC5 Entity Framework学习

    MVC5 Entity Framework学习(1):创建Entity Framework数据模型 MVC5 Entity Framework学习(2):实现基本的CRUD功能 MVC5 Entity ...

  6. Entity Framework学习初级篇2

    Entity Framework 学习初级篇2--ObjectContext.ObjectQuery.ObjectStateEntry.ObjectStateManager类的介绍 本节,简单的介绍E ...

  7. Entity Framework 学习

    Entity Framework 学习初级篇1--EF基本概况 Entity Framework 学习初级篇2--ObjectContext.ObjectQuery.ObjectStateEntry. ...

  8. ADO.NET Entity Framework学习笔记(3)ObjectContext

    ADO.NET Entity Framework学习笔记(3)ObjectContext对象[转]   说明 ObjectContext提供了管理数据的功能 Context操作数据 AddObject ...

  9. MVC5 Entity Framework学习之实现主要的CRUD功能

    在上一篇文章中,我们使用Entity Framework 和SQL Server LocalDB创建了一个MVC应用程序,并使用它来存储和显示数据.在这篇文章中,你将对由 MVC框架自己主动创建的CR ...

随机推荐

  1. Java图片缩略图裁剪水印缩放旋转压缩转格式-Thumbnailator图像处理

    前言 java开发中经常遇到对图片的处理,JDK中也提供了对应的工具类,不过处理起来很麻烦,Thumbnailator是一个优秀的图片处理的开源Java类库,处理效果远比Java API的好,从API ...

  2. isNaN+parseFloat进行统计以及对NaN的处理【JS验证数字】

    今天遇到这么一个需求: 对数据进行统计,可是在统计的时候parseFloat的时候出来一个NaN.后来用isNaN判断,如果是NaN,就给其设置一个初值. 先看对两个方法的解释 parseFloat: ...

  3. input文本框的value属性在页面中不随输入的数据而变化

    今天,在做试验遇到这么一个需求: 一个input文本框,输入值后将标签传到后台,在后台解析标签,发现value仍然是初值,不是我们改变后的值. 例如: <input name="&qu ...

  4. hdu 5195 DZY Loves Topological Sorting BestCoder Round #35 1002 [ 拓扑排序 + 优先队列 || 线段树 ]

    传送门 DZY Loves Topological Sorting Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 131072/131 ...

  5. php 压缩数据存储

    php 压缩数据存储 当接收到大量的数据时,存储到数据库和从数据库读取时,时间都比较慢,所以压缩一下入库可能会好一点. 仅供参考!!! 封装的压缩数据函数: /** * 压缩数据 * @param s ...

  6. RedisDesktopManager 踩坑之旅

    虚拟机上装了redis, 本地Windows的RedisDesktopManager  connect failed. 解决方法: 1.修改 redis.conf 文件 bind 127.0.0.1 ...

  7. vm 安装CentOS7

    1.首先需要到CentOS官网下载CentOS7的iso镜像文件,地址http://mirrors.cn99.com/centos/7/isos/x86_64/ 这里我选择的是迅雷种子文件 2.下载完 ...

  8. 【纯净版windows系统】U盘启动制作图文教程

    无废话,按照步骤来就可以. 1.一个大于4G的U盘(格式化)准备好U盘,请注意制作过程中对U盘有格式化操作,有用的东西请先备份 2.UltraISO(软碟通软件)下载安装百度“软碟通”,或者访问 ht ...

  9. http 连接失败重连机制

    1.我们做web开发时,需要经常使用httpclient来请求http服务,有时为了安全起见,服务提供方会提供多个http地址,这样如果我们请求某个ip出现异常,可以重试其他的ip地址,来尽量保证系统 ...

  10. 关键字检索高亮标出-javasript/jQuery代码实现

    原文:http://www.open-open.com/code/view/1454504432089 此方法传入2个参数,一个是被检索内容所在的表单或者HTML元素的ID,另一为关键字,多个关键字的 ...