Download presentation
Presentation is loading. Please wait.
Published byMyrtle Crawford Modified over 9 years ago
1
Deep Dive into the ADO.NET Entity Framework
2
Agenda Entity Data Model Advanced Mapping Advanced querying Entity SQL Object Services ADO.NET Metadata
3
Advanced Mapping Complex Types Table-Per-Hierarchy (TPH) Table-Per-Type (TPT) Query Views Defining Queries
4
Complex Types Customer FirstName LastName Address AddressLine1 AddressLine2 City State Zip Customer AddressLine1 AddressLine2 City State Zip FirstName LastName
5
Table Per Hierarchy Person FirstName LastName Customer AddressLine1 Customer AddressLine1 AddressLine2 City State Zip FirstName LastName AddressLine2 City State Zip CustomerType Discriminator
6
Table Per Type Person FirstName LastName Customer AddressLine1 Person FirstName LastName AddressLine2 City State Zip AddressLine1 AddressLine2 City State Zip Customer PersonID
7
Query Views Customer Address City FirstName LastName Entity SQL
8
Defining Queries Customer Address City FirstName LastName T-SQL
9
Demo Advanced Mapping
10
Entity SQL Functions Canonical Store-specific Paging TOP SKIP/LIMIT Grouping
11
Canonical Functions Aggregate Bitwise Date/Time Math String
12
Demo Entity SQL
13
Object Services Transactions Optimistic Concurrency Compiled Queries
14
Demo LINQ To Entities
15
ADO.NET Metadata Exposes metadata Exposed from ObjectContext EdmConnection EdmDataReader Metadata Workspace O-Space OC-Space C-Space CS-Space S-Space
16
Demo ADO.NET Metadata
17
Summary Entity Data Model Advanced Mapping Advanced querying Entity SQL Object Services ADO.NET Metadata
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.