文档介绍:Building the data layer in a .NET 4. 0 application with
Entity Framework
Mihai Tătăran
General Manager, . Consulting
Microsoft Most Valuable Professional,
/blog/
1. Introduction..................................................................................................................................... 4
. Who is this book for ................................................................................................................. 4
2. The data layer with an O/RM ........................................................................................................... 4
. What is an Object/Relational Mapper....................................................................................... 4
. Why building the data layer with an O/RM ............................................................................... 4
3. Introducing Microsoft Entity Framework .......................................................................................... 5
. The first application with Entity Framework ............................................................................. 5
Setting up the demo ........................................................................................................................ 6
Getting some data from the database ............................................................................................ 10
Adding data to the database .......................................................................................................... 12
. Entity Framework explained ................................................................................................... 13
Entities .......................................................................................................................................... 13
ObjectContext............................................................................