About This Book
- Create Entity data models from your database and use them in your applications
- Learn about the Entity Client data provider and write statements in Entity SQL to perform CRUD operations
- Explore ADO.NET Data Services and how they work with the Entity Framework
If you are a C# developer who wants to learn a new way of querying data and utilizing it in applications efficiently for data binding or other operations, then this book is for you. Basic knowledge of ADO.NET is assumed.
What You Will Learn
- 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 and the EdmGen tool
- Extend existing Entity Types to create your own Entity Types
- Write programs against the Entity Data Model to perform CRUD operations
- Discover ADO.NET Data Services and learn how they can be used with the Entity Framework
- Familiarize yourself with WCF Data Services (formerly ADO.NET Data Services)
- Apply Code First, Model First and Database First approaches
The ADO.NET Entity Framework from Microsoft is a new ADO.NET development framework that provides a level of abstraction for data access strategies and solves the impedance mismatch issues that exist between different data models.
This book explores Microsoft's Entity Framework and explains how it can used to build enterprise level applications. It will also teach you how you can work with RESTful Services and Google's Protocol Buffers with Entity Framework and WCF. You will explore how to use Entity Framework with ASP.NET Web API and also how to consume the data exposed by Entity Framework from client applications of varying types, i.e., ASP.NET MVC, WPF and Silverlight. You will familiarize yourself with the new features and improvements introduced in Entity Framework including enhanced POCO support, template-based code generation, tooling consolidation and connection resiliency. By the end of the book, you will be able to successfully extend the new functionalities of Entity framework into your project.
Style and approach
This book is a step-by-step tutorial providing hands-on code examples with detailed explanations. The book aims to explain the concepts of the Entity Framework and illustrate how you can use these in applications with a tutorial based approach.
Chapter 2: Getting Started
Chapter 3: Entities, Relationships, and the Entity Data Model
Chapter 4: Working with Stored Procedures in the Entity Data Model
Chapter 5: Working with Entity Client and Entity SQL
Chapter 6: Working with LINQ to Entities
Chapter 7: Working with the Object Services Layer
Chapter 8: Working with WCF Data Services