The Wayback Machine - https://web.archive.org/web/20090831091101/http://www.packtpub.com:80/entity-framework-tutorial/book
Packt Publishing Community, Experience, Distilled

Entity Framework Tutorial

HomeBooksSupportFreeAuthorsAward
BROWSE SEARCH SHOPPING CART CHECKOUT

 

 
Entity Framework Tutorial
 
Entity Framework Tutorial Learn to build a better data access layer with the ADO.NET Entity Framework and ADO.NET Data Services
 
  • Clear and concise guide to the ADO.NET Entity Framework with plentiful code examples
  • Create Entity Data Models from your database and use them in your applications
  • Learn about the Entity Client data provider and create statements in Entity SQL
  • Learn about ADO.NET Data Services and how they work with the Entity Framework
 
Available Now
READY TO BUY?
READY TO BUY?
  • Buy one eBook, get 30% off
  • Buy two eBooks, get 45% off
  • Buy two print books, get 18% off

We accept PayPal


Code download
Request a Review Copy
Send us feedback on this title
Ask a question about this title
Sample Chapter 2 Getting Started [1.0 MB]
Table of Contents
Book Details
Language English
Paperback 228 pages [191mm x 235mm]
Release date October 2008
ISBN 1847195229
ISBN 13 978-1-847195-22-7
Author(s) Joydip Kanjilal
Topics and Technologies Microsoft & .NET

Discount Offer

+ Buy this book with ASP.NET Data Presentation Controls Essentials and get 25% discount on both. Just add both books to your cart and the discount will be applied.  

Take your ADO.NET knowledge to the next level and build a better data layer with this clear tutorial to the Entity Framework


In Detail
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.

Read the full Table of Contents for Entity Framework Tutorial


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

Chapter 1, Introducing the ADO.NET Entity Framework, introduces the reader to the basics of ADO.NET EF, why it is useful, and its features and benefits. It also covers designing the Payroll Database that is used by the model application developed in subsequent chapters.

Chapter 2, Getting started with the Entity Framework, discusses how to get started with EF – creating the Payroll Entity Data Model (EDM) and mapping the model to the database and writing a program to query data.

Chapter 3, Entities, Relationships, and the Entity Data Model, gives a detailed explanation of entities, relationships, and of each of the sections of the Payroll EDM.

Chapter 4, Working with Stored Procedures in the Entity Data Model, explains how we can map stored procedures in the EDM and use them in our applications.

Chapter 5, Working with Entity Client and Entity SQL, discusses the ESQL query language and how to work with the Entity Client provider. It also explains the differences between Entity SQL and Transact SQL.

Chapter 6, Working with LINQ to Entities, includes a detailed discussion on using Language Integrated Query (LINQ) to retrieve data from Entities, with lots of code examples.

Chapter 7, Working with Objects Services, provides a detailed discussion on the Object Services Layer and its powerful features for reading, inserting, editing, deleting, and serializing objects and binding them to data controls.

Chapter 8, Working with ADO.NET Data Services, provides an introduction to ADO.NET Data Services and using them with EDM to perform CRUD operations.
Approach
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.

Author(s)
Joydip Kanjilal

Joydip Kanjilal is a Microsoft MVP in ASP.NET. He has over 12 years of industry experience in IT with more than 6 years in Microsoft .NET and its related technologies. He has authored a lot of articles for some of the most reputable sites like, www.asptoday.com, www.devx.com, www.aspalliance.com, www.aspnetpro.com, www.sql-server-performance.com, www.sswug.com, etc. A lot of these articles have been selected at www.asp.net - Microsoft’s Official Site on ASP.NET. Joydip was also a community credit winner at www.community-credit.com a number of times.

He is currently working as a Senior Consultant in a reputable company in Hyderabad, INDIA. He has years of experience in designing and architecting solutions for various domains. His technical strengths include, C, C++, VC++, Java, C#, Microsoft .NET, Ajax, Design Patterns, SQL Server, Operating Systems and Computer Architecture. Joydip blogs at http://aspadvice.com/blogs/joydip and spends most of his time reading books, blogs and writing books and articles. His hobbies include watching cricket and soccer and playing chess.


   




© Packt Publishing Ltd 2009

RSS