<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Technological achievements dream_分类_Entity FrameWork</title><id>http://feed.cnblogs.com/blog/u/33262/category/242085/rss</id><updated>2012-05-27T15:28:15Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Henllyee/category/242085.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/33262/category/242085/rss"/><entry><id>http://www.cnblogs.com/Henllyee/archive/2010/08/08/EntityFrameWork-CTP4-Code-First.html</id><title type="text">Entity Framework Code-First(下)</title><summary type="text">在上篇文章中看过在CTP4中Code-First的功能，这篇文章会就Code-First的自定义数据库映射、相关的Api进行一些说明。 回顾 在上篇文章中我们看到了Code-Firts带来的强大的功能。其中我们来看看前面定义的一个实体： 而之后我们需要添加一个属性，一个Remark的属性：我们再来运行下我们的测试会出现下面的错误：错误告诉我们，数据库建立了之后context已经改变了，要么手...</summary><published>2010-08-08T07:38:00Z</published><updated>2010-08-08T07:38:00Z</updated><author><name>Henry Cui</name><uri>http://www.cnblogs.com/Henllyee/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Henllyee/archive/2010/08/08/EntityFrameWork-CTP4-Code-First.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Henllyee/archive/2010/08/08/EntityFrameWork-CTP4-Code-First.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/Henllyee/archive/2010/07/25/1784660.html</id><title type="text">Entity Framework Code-First（上）</title><summary type="text">在7.14号微软ado.net团队发布了EF Feature CTP4，在ctp4中code-first得到了很大的加强，支持了很多属性。本篇文章中就code-first进行一些尝试。 准备 1.下载ctp4：Entity Framework Feature CTP4. 2.准备我们的工程： 各个项目之间的关系以及作用就不必多说了。 创建Model 我们建立一个employee、depa...</summary><published>2010-07-25T06:42:00Z</published><updated>2010-07-25T06:42:00Z</updated><author><name>Henry Cui</name><uri>http://www.cnblogs.com/Henllyee/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Henllyee/archive/2010/07/25/1784660.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Henllyee/archive/2010/07/25/1784660.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/Henllyee/archive/2010/07/23/EntityFramewrok_POCO_T4Template.html</id><title type="text">Entity Framework POCO T4模板使用</title><summary type="text">在之前的文章中写过Entity Framework中POCO的支持。其实在VS2010的Extension里面提供了POCO的模板给我们了，我们可以很快地来实现Entity 跟Contenx的生成了。本文中将介绍POCO模板的使用。 安装 我们选择C#POCO Entity Generator，下载之后，在弹出的对话框中选择安装即可。 生成代码 在这里我们使用Northwind数据库，首先先...</summary><published>2010-07-23T14:41:00Z</published><updated>2010-07-23T14:41:00Z</updated><author><name>Henry Cui</name><uri>http://www.cnblogs.com/Henllyee/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Henllyee/archive/2010/07/23/EntityFramewrok_POCO_T4Template.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Henllyee/archive/2010/07/23/EntityFramewrok_POCO_T4Template.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/Henllyee/archive/2010/05/23/entityframeworknote3_proco.html</id><title type="text">Entity FrameWork 笔记（三）POCO</title><summary type="text">在前面两篇文章中，我们看过了Entity FramwWork中的基本查询，在Entity FrameWork 4中提供了POCO的方式，POCO的全称是：Plain Old CLR Object，即提供了对传统CLR对象的支持。 DataBase 首先我们来看数据库里面的两张表： Model 在这里我们就像添加普通的实体一样： EDMX 我们新增一个edmx文件，选择刚才的两个表： 生成完成...</summary><published>2010-05-23T02:22:00Z</published><updated>2010-05-23T02:22:00Z</updated><author><name>Henry Cui</name><uri>http://www.cnblogs.com/Henllyee/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Henllyee/archive/2010/05/23/entityframeworknote3_proco.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Henllyee/archive/2010/05/23/entityframeworknote3_proco.html"/><content type="text">在前面两篇文章中，我们看过了Entity FramwWork中的基本查询，在Entity FrameWork 4中提供了POCO的方式，POCO的全称是：Plain Old CLR Object，即提供了对传统CLR对象的支持。 DataBase 首先我们来看数据库里面的两张表： Model 在这里我们就像添加普通的实体一样： EDMX 我们新增一个edmx文件，选择刚才的两个表： 生成完成...</content></entry><entry><id>http://www.cnblogs.com/Henllyee/archive/2010/04/17/1714294.html</id><title type="text">Entity FrameWork 笔记（二）4.0中的查询</title><summary type="text">这两天一直在用vs2010来试水，发现Entity FrameWork4.0改进了很多，这篇文章先从查询说起。 工具VS2010+SQL2005 准备 首先我们看下生成完成的EDM图： 编写查询 1）Linq to Entities 在开始我还是想像以前一样用Linq to Entities的方式写一个简单的查询：开始编写时，总是获取不到语法的提示，后来才发现是自己没有添加对System.Linq...</summary><published>2010-04-17T08:28:00Z</published><updated>2010-04-17T08:28:00Z</updated><author><name>Henry Cui</name><uri>http://www.cnblogs.com/Henllyee/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Henllyee/archive/2010/04/17/1714294.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Henllyee/archive/2010/04/17/1714294.html"/><content type="text">这两天一直在用vs2010来试水，发现Entity FrameWork4.0改进了很多，这篇文章先从查询说起。 工具VS2010+SQL2005 准备 首先我们看下生成完成的EDM图： 编写查询 1）Linq to Entities 在开始我还是想像以前一样用Linq to Entities的方式写一个简单的查询：开始编写时，总是获取不到语法的提示，后来才发现是自己没有添加对System.Linq...</content></entry><entry><id>http://www.cnblogs.com/Henllyee/archive/2010/04/11/entityframeworknote1.html</id><title type="text">Ado.net Entity FrameWork笔记（一）</title><summary type="text">最近的在学习一些以前欠下来的东西，先补充下Entity FrameWork吧。目前先从Entity FrameWork 1.0开始吧，然后再到.net 4.0 中的Entity FrameWork。 本文中使用的工具：VS2008 SP1+SQL SERVER 2005 基础概念 在Entity FrameWork中提出了几个重要的概念，接触过NHibernate的都知道ORM的概念，而在EF中提...</summary><published>2010-04-11T13:48:00Z</published><updated>2010-04-11T13:48:00Z</updated><author><name>Henry Cui</name><uri>http://www.cnblogs.com/Henllyee/</uri></author><link rel="alternate" href="http://www.cnblogs.com/Henllyee/archive/2010/04/11/entityframeworknote1.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/Henllyee/archive/2010/04/11/entityframeworknote1.html"/><content type="text">最近的在学习一些以前欠下来的东西，先补充下Entity FrameWork吧。目前先从Entity FrameWork 1.0开始吧，然后再到.net 4.0 中的Entity FrameWork。 本文中使用的工具：VS2008 SP1+SQL SERVER 2005 基础概念 在Entity FrameWork中提出了几个重要的概念，接触过NHibernate的都知道ORM的概念，而在EF中提...</content></entry></feed>
