<p>It is nearly impossible today to write enterprise software without the use of one or more relational databases. Granted, there are cases when the data is transient and not stored in a database, but for the most part, software needs to consume and manipulate data in a database. It sounds easy, but
Pro LINQ Object Relational Mapping in C# 2008
โ Scribed by Vijay P. Mehta
- Publisher
- Apress
- Year
- 2008
- Tongue
- English
- Leaves
- 389
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Es un libro completamente practico ya que contiene ejemplos muy completos para comprender la conexion a bases de datos por medio de LINQ.By: Edwin Dario Cucul Cuc
โฆ Table of Contents
Contents at a Glance......Page 3
Contents......Page 5
About the Author......Page 10
About the Technical Reviewer......Page 11
Acknowledgments......Page 12
Introduction......Page 13
Introduction to Object-Relational Mapping......Page 16
What Is ORM?......Page 17
Benefits of ORM......Page 18
Qualities of a Good ORM Tool......Page 19
Impedance Mismatch......Page 21
Object Persistence......Page 25
Basic ORM Approach......Page 26
Summary......Page 27
Domain-Driven Design......Page 29
UML......Page 30
Domain Model Structure......Page 32
Entities......Page 33
Value Objects......Page 34
Aggregates......Page 35
Services......Page 36
Domain Model......Page 37
Table Module......Page 39
Database Mapper......Page 40
Inheritance......Page 41
Relationships......Page 43
Laziness......Page 46
Factories......Page 47
Repository/Data Access Objects (DAOs)......Page 48
Persistence Ignorance......Page 50
PI and EF......Page 52
Further Reading......Page 54
Summary......Page 55
What Is LINQ to SQL?......Page 57
LINQ to SQL Designer......Page 58
DataContext Class......Page 62
DBML and Mapping Fundamentals......Page 64
Entity Classes......Page 70
SqlMetal......Page 75
Querying......Page 77
Updating/Inserting/Deleting......Page 83
Summary......Page 88
Debugging......Page 89
Using Stored Procedures......Page 91
Working with User-Defined Functions......Page 101
Constructing Relationships, Joins, and Projections......Page 102
Validation......Page 115
Transactions......Page 117
Summary......Page 120
What Is EF?......Page 122
Exploring the Designer......Page 123
Understanding the EDM......Page 128
CSDL......Page 129
SSDL......Page 131
MSL......Page 133
Metadata Schemas......Page 135
Designer Metadata......Page 143
Generated Classes......Page 145
Using EDMGen......Page 151
Summary......Page 154
Object Services: LINQ to Entities......Page 155
Querying......Page 156
Using Query Operators......Page 166
Updating, Inserting, and Deleting......Page 176
Compiled Queries......Page 181
Summary......Page 183
Inheritance......Page 184
Single-Table Mapping......Page 185
Table per Type......Page 189
Table per Concrete Class......Page 194
Entity Client Provider......Page 197
ESQL......Page 198
Stored Procedures......Page 211
Summary......Page 213
Requirements and Use Cases......Page 215
Unknown......Page 0
1A: User Registration......Page 216
1B: Loan Application......Page 217
1C: Loan Application Evaluation......Page 218
1D: Account/Loan Summary......Page 219
The Model......Page 220
Base Classes......Page 221
Entities......Page 231
Roles......Page 233
Managers......Page 235
DAO Implementation......Page 240
Class Service Infrastructure......Page 241
Summary......Page 247
Creating Classes with the Object Relational Designer......Page 249
Using Inheritance......Page 251
Using Compiled Queries......Page 254
Building a Foundation......Page 255
Creating a Database......Page 276
Working with Many-to-Many Relationships......Page 280
Where to Go from Here......Page 281
Summary......Page 282
Persistence Ignorance/Custom Objects......Page 283
IPOCO Interfaces......Page 284
Top-Down Designer......Page 287
Applying IPOCO to BoP......Page 288
Mappings/Database......Page 298
Middle Tier/Context Manager......Page 305
Summary......Page 314
DTOs......Page 317
Layered LTS......Page 319
Layered EF......Page 330
ASP.NET......Page 337
Summary......Page 351
LTS vs. EF......Page 353
Functionality Differences......Page 354
Alternatives......Page 357
NHibernate......Page 358
EntitySpaces......Page 361
LLBLGen Pro......Page 366
Summary......Page 369
Index......Page 371
๐ SIMILAR VOLUMES
I found this book to be most useful of all the Linq books I have come across. It provides great practical examples of how to use Linq effectively on data objects and save hundreds of lines of code. At the same time, the author explains the performance implications so that you can make the right de
"For several years, Troy has been one of the key figures in the LINQ community. This comprehensive and well-written book serves as a compendium of the important wisdom and experience that he has accumulated through his years of studying LINQ and its uses." -<b>Charlie Calvert</b>, Microsoft C# Commu