CARVIEW |
Entity Framework Tutorial
Formats:

save 50%!
save 15%!
Includes free access to the book on PacktLib
save 41%!

Also available on: |
![]() ![]() ![]() ![]() |
- 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
Book Details
Language : EnglishPaperback : 228 pages [ 235mm x 191mm ]
Release Date : October 2008
ISBN : 1847195229
ISBN 13 : 9781847195227
Author(s) : Joydip Kanjilal
Topics and Technologies : All Books, Microsoft Development , Enterprise, Microsoft, .NET
Table of Contents
Preface
Chapter 1: Introducing the ADO.NET Entity Framework
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: Introducing ADO.NET Data Services
Index
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 https://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.
This book fulfil its mission as complete tutorial & how to guide
If you need to quickly get up and running with Entity Framework, try this book
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
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.
Special Offers

Annual subscription:
$220.00 per annum
Monthly subscription:
$21.99 per month
|
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.
Learn to build a better data access layer with the ADO.NET Entity Framework and ADO.NET Data Services
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 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.
Alternative Books
If this isn't the right book for you, take a look at some of our other offerings below.
-
- Master the architectural options in ASP.NET to enhance your applications
- Develop and implement n-tier architecture to allow you to modify a component without disturbing the next one
- Design scalable and maintainable web applications rapidly
- Implement ASP.NET MVC framework to manage various components independently
-
- Master WCF and LINQ concepts by completing practical examples and apply them to your real-world assignments
- First book to combine WCF and LINQ in a multi-tier real-world WCF service
- Ideal for beginners who want to build scalable, powerful, easy-to-maintain WCF services
- Rich with example code, clear explanations, interesting examples, and practical advice – a truly hands-on book for C++ and C# developers
-
- Systematic coverage of major ASP.NET data presentation controls
- Packed with re-usable examples of common data control tasks
- Covers LINQ and binding data to ASP.NET 3.5 (Orcas) controls
-
- Rapid guide to building powerful web applications with ASP.NET MVC framework
- Covers all facets of web application development including requirement analysis, design, building, testing, and deployment
- Explore the ASP.NET MVC framework with several newly released features including WebForms, Script Combining, jQuery integration, and ASP.Net MVC AJAX helpers
- Rich with example code, clear explanations, and interesting examples – a truly hands-on book for ASP.NET developers
-
- Create a full-featured, enterprise-grade social network using ASP.NET 3.5
- Learn key new ASP.NET topics in a practical, hands-on way: LINQ, AJAX, C# 3.0, n-tier architectures, and MVC
- Build friends lists, messaging systems, user profiles, blogs, message boards, groups, and more
- Rich with example code, clear explanations, interesting examples, and practical advice – a truly hands-on book for ASP.NET developers
Additional material with this book:
Appendix A Setting Up Your Development Environment
Appendix B Test-Driven Development and Continuous Integration
-
- Develop applications that run several tasks simultaneously to achieve greater performance, scalability, and responsiveness in your applications
- Build and run well-designed and scalable applications with C# parallel programming.
- In-depth practical approach to help you become better and faster at managing different processes and threads
- Optimized techniques on parallellized processes for advanced concepts
- Packed with hands-on-examples and clear explanations for better understanding
-
- Add event-driven workflow capabilities to your .NET applications.
- Highlights the libraries, services and internals programmers need to know
- Builds a practical "bug reporting" workflow solution example app
-
- An introduction to jQuery that requires minimal programming experience
- Detailed solutions to specific client-side problems
- For web designers to create interactive elements for their designs
- For developers to create the best user interface for their web applications
- Packed with great examples, code, and clear explanations
- Revised and updated version of the first book to help you learn jQuery
This book fulfil its mission as complete tutorial & how to guide
If you need to quickly get up and running with Entity Framework, try this book
![]() |
RSS Feed |
![]() |
Sign up to Packt's newsletter |
![]() |
Follow Packt at Twitter |
![]() |
Join our Facebook Group |
Customer service body text... insert content here.
Returns Centre body text... insert content here.
Packt Updates
We accept the following

Footer Copyright
This site requires cookies to be enabled in your browser. Packt Publishing 2012
Links to Packt information
Click here to view Packt's cookie policy. This explains the cookies on Packt's website, and why we use them. It also explains information on how to manage your cookies.
By closing this banner, you are consenting to our use of cookies on your device, unless you have disabled them in your browser.