Book Image

Entity Framework Tutorial

By : Joydip Kanjilal
Book Image

Entity Framework Tutorial

By: Joydip Kanjilal

Overview of this book

<p>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.<br /><br />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.<br /><br />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.</p>
Table of Contents (13 chapters)
Entity Framework Tutorial
Credits
About the Author
About the Reviewer
Preface

Chapter 8. Introducing ADO.NET Data Services

ADO.NET Data Services, formerly known as Project Astoria, is comprised of a collection of patterns and libraries that can be used to expose an application's data as a service. This service can then be consumed by client applications using HTTP calls. You can use ADO.NET Data Services to isolate the Data Access Layer, and it exposes data via WCF services to discover, manipulate, and retrieve data in a corporate network. You can also use ADO.NET Data Services to expose data that is retrieved using the Entity Data Model as a service and then access this service using WCF service calls over HTTP protocol.

In this concluding chapter of the book, we will discuss the following:

  • An overview of ADO.NET Data Services

  • The REST-based model

  • Creating an ADO.NET Data Service

  • An overview of the System.Services.Data namespace

  • Using the ADO.NET Data Services Client Library to perform CRUD operations and exposing Stored Procedures as URIs

  • Exception Handling and Debugging...