The ADO.NET Entity Framework is a new way to build the data access layer of your Windows or web applications. It's an Object Relational Mapping (ORM) technology that makes it easy to tie together the data in your database with the objects in your applications, by abstracting the object model of an application from its relational or logical model.
This clear and concise book gets you started with the Entity Framework and carefully gives you the skills to speed up your application development by constructing a better data access layer. It shows you how to get the most from the ADO.NET Entity Framework to perform CRUD operations with complex data in your applications.
This tutorial starts out with the basics of the Entity Framework, showing plenty of examples to get you started using it in your own code. You will learn how to create an Entity Data Model, and then take this further with Entity types. You will also learn about the Entity Client data provider, learn how to create statements in Entity SQL, and get to grips with ADO.NET Data Services, also known as Project Astoria.
What you will learn from this book?
Explore the features of the ADO.NET Entity Framework
Understand the concepts of entities and their relationships
Create an Entity Data Model using the ADO.NET Entity Data Model Designer as well as the EdmGen tool
Get started with the Entity Framework and implement your application using it
Extend the existing Entity Types to create your own Entity Types
Write programs against the Entity Data Model to perform CRUD operations
Explore ADO.NET Data Services and learn how they can be used with the Entity Framework
This book is written as a tutorial, leading you through examples to illuminate the main theory and get you working with the Entity Framework as quickly as possible.
Who this book is written for?
This book is for C# developers who want an easier way to create their data access layer. You will need to be comfortable with ADO.NET, but you don't need to know anything about the Entity Framework. Along the way we will create some ASP.NET applications, so being familiar with this will also help.