Programming entity framework /
Get a thorough introduction to ADO.NET Entity Framework 4 -- Microsoft's core framework for modeling and interacting with data in .NET applications. The second edition of this acclaimed guide provides a hands-on tour of the framework latest version in Visual Studio 2010 and .NET Framework 4. No...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Farnham :
O'Reilly,
©2010.
|
Edición: | 2nd ed. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Table of Contents; Foreword; Preface; Who This Book Is For; How This Book Is Organized; What You Need to Use This Book; This Book's Website; Conventions Used in This Book; Using Code Examples; Safari® Books Online; Comments and Questions; Acknowledgments; Author Note for Third Printing, August 2011; Entity Framework 4.1 (Code First and DbContext) Has Released; Entity Framework June 2011 CTP; Chapter 1. Introducing the ADO.NET Entity Framework; The Entity Relationship Model: Programming Against a Model, Not the Database; The Entity Data Model: A Client-Side Data Model
- Entities: Blueprints for Business ClassesThe Backend Database: Your Choice; Database Providers; Access and ODBC; Entity Framework Features: APIs and Tools; Metadata; Entity Data Model Design Tools; Database-first design; Model-first design; Code generation; Object Services; POCO Support; Change Tracking; Relationship Management and Foreign Keys; Data Binding; n-Tier Development; EntityClient; The Entity Framework and WCF Services; What About ADO.NET DataSets and LINQ to SQL?; DataSets; LINQ to SQL; Entity Framework Pain Points Are Fading Away; Programming the Entity Framework
- Chapter 2. Exploring the Entity Data ModelWhy Use an Entity Data Model?; The EDM Within the Entity Framework; Walkthrough: Building Your First EDM; Inspecting the EDM in the Designer Window; Entity Container Properties; Entity Properties; Entity Property Properties; The Model's Supporting Metadata; Viewing the Model in the Model Browser; Viewing the Model's Raw XML; CSDL: The Conceptual Schema; EntityContainer; EntitySet; EntityType; The Key element; The Property elements; The navigation properties; Associations; Navigation Property; Navigation Properties That Return Collections
- SSDL: The Store SchemaMSL: The Mappings; Database Views in the EDM; Summary; Chapter 3. Querying Entity Data Models; Query the Model, Not the Database; Your First EDM Query; Where Did the Context and Classes Come From?; The ObjectContext class, SampleEntities; The entity classes; Querying with LINQ to Entities; Writing Your First LINQ to Entities Query; Querying with Object Services and Entity SQL; Why Another Way to Query?; Entity SQL; Entity SQL canonical functions; The Parameterized ObjectQuery; Querying with Methods; Querying with LINQ Methods; Chaining methods
- Querying with Query Builder Methods and Entity SQLSpecifying the control variable; The Shortest Query; ObjectQuery, ObjectSet, and LINQ to Entities; Querying with EntityClient to Return Streamed Data; EntityConnection and the Connection String; EntityCommand; ExecuteReader; Forward-Only Access to the Fields; Translating Entity Queries to Database Queries; Pay Attention to the .NET Method's Impact on Generated SQL; Avoiding Inadvertent Query Execution; Summary; Chapter 4. Exploring LINQ to Entities in Greater Depth; Getting Ready with Some New Lingo; Projections in Queries