没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
文档由老毕搜集整理
版权归原文作者所有
Entity
Framework
Code-First
文档由老毕搜集整理
版权归原文作者所有
文档由老毕搜集整理
版权归原文作者所有
Announcing EF
Code-First
Scott Guthrie
文档由老毕搜集整理
版权归原文作者所有
文档由老毕搜集整理
版权归原文作者所有
This week the data team released the CTP5 build of the new Entity Framework Code-First library. EF
Code-First enables a pretty sweet code-centric development workflow for working with data. It
enables you to:
Develop without ever having to open a designer or define an XML mapping file
Define model objects by simply writing “plain old classes” with no base classes required
Use a “convention over configuration” approach that enables database persistence without
explicitly configuring anything
Optionally override the convention-based persistence and use a fluent code API to fully
customize the persistence mapping
I’m a big fan of the EF Code-First approach, and wrote several blog posts about it this summer:
Code-First Development with Entity Framework 4 (July 16th)
EF Code-First: Custom Database Schema Mapping (July 23rd)
Using EF Code-First with an Existing Database (August 3rd)
Today’s new CTP5 release delivers several nice improvements over the CTP4 build, and will be the
last preview build of Code First before the final release of it. We will ship the final EF Code First
release in the first quarter of next year (Q1 of 2011). It works with all .NET application types
(including both ASP.NET Web Forms and ASP.NET MVC projects).
Installing EF Code First
You can install and use EF Code First CTP5 using one of two ways:
Approach 1) By
downloading and running a setup program. Once installed you can reference the
EntityFramework.dll assembly it provides within your projects.
or:
Approach 2) By using the
NuGet Package Manager within Visual Studio to download and install EF
Code First within a project. To do this, simply bring up the NuGet Package Manager Console within
Visual Studio (View->Other Windows->Package Manager Console) and type “Install-Package
EFCodeFirst”:
Typing “Install-Package EFCodeFirst” within the Package Manager Console will cause NuGet to
download the EF Code First package, and add it to your current project:
AnnouncingEntityFrameworkCode-First(CTP5release)-ScottGu'sBlog
剩余205页未读,继续阅读
AlphaWu
- 粉丝: 3
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页