更新时间:2021-07-16 20:42:11
coverpage
Entity Framework Tutorial Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Introducing the ADO.NET Entity Framework
What you should know
Looking back
What is the ADO.NET Entity Framework?
A comparative analysis of Entity Framework and other ORM tools
Entity Framework architectural components
System requirements
Performance improvements in Entity Framework 6
New features in Entity Framework 7
Summary
Chapter 2. Getting Started
Designing the UserAuthentication database
Creating the EDM
The DataSource controls
Implementing our first application using the Entity Framework
Chapter 3. Entities Relationships and the Entity Data Model
Entities entity types and relationships in the EDM
Exploring the Security EDM
Chapter 4. Working with Stored Procedures in the Entity Data Model
Creating a database using model-first development
Creating stored procedures
Mapping stored procedures to functions in the EDM
Executing stored procedures using the EDM
Mapping stored procedures that return custom entity types
Chapter 5. Working with Entity Client and Entity SQL
An overview of the E-SQL language
From T-SQL to E-SQL
Why E-SQL when I already have LINQ to Entities?
Data paging using E-SQL
Working with the ADO.NET Entity Client
Other operations with E-SQL
Deferred eager and lazy loading
Chapter 6. Working with LINQ to Entities
Introducing LINQ
Understanding the LINQ architecture
Parallel LINQ
Operators in LINQ
Querying data using LINQ
Chapter 7. Working with the Object Services Layer
What are Object Services?
Performing CRUD operations on objects
Attaching and detaching objects to and from ObjectContext
Serializing and deserializing entity instances
Change tracking and identity resolution using ObjectContext
Understanding the code-first model-first and database-first approaches to domain design
Inheritance in Entity Framework
Implementing complex types in the EDM
State management identity management and relationship management
Reading objects from the Security database
Inserting objects from the Security database
Editing objects from the Security database
Deleting objects from the Security database
Chapter 8. Working with WCF Data Services
Introducing WCF Data Services
Exposing data as a service using WCF Data Services
Why do we need REST?
What is the OData Protocol?
Working with WCF Data Services and Entity Framework
Working with OData Services using WCF and ASP.NET MVC Framework
Working with Protobuf WCF Services
Appendix A. Advanced Concepts
REST and REST-based service frameworks
HTTP methods request and response codes
Abbreviations
Suggested reading
Index