1.

Record Nr.

UNINA9910739447303321

Autore

Hirani Zeeshan

Titolo

Entity framework 6 recipes / / Brian Driscoll [and four others]

Pubbl/distr/stampa

New York : , : Apress, , 2013

ISBN

1-4302-5789-X

Edizione

[2nd ed. 2013.]

Descrizione fisica

1 online resource (xxxiv, 511 pages) : illustrations (some color)

Collana

The expert's voice in .NET

Gale eBooks

Disciplina

004

005.711

005.74

Soggetti

Microsoft .NET Framework

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

"Ready-made solutions for putting Microsoft Entity Framework 6 to work in your own applications"--Cover.

Includes index.

Nota di bibliografia

Includes bibliographical references and index.

Nota di contenuto

""Contents at a Glance""; ""Contents""; ""About the Authors""; ""About the Technical Reviewer""; ""Preface""; ""Chapter 1: Getting Started with Entity Framework""; ""1-1. A Brief Tour of the Entity Framework World""; ""The History""; ""The Model""; ""The Layers""; ""The Terminology""; ""The Code""; ""Visual Studio""; ""1-2. Using Entity Framework""; ""Chapter 2: Entity Data Modeling Fundamentals""; ""2-1. Creating a Simple Model""; ""Problem""; ""Solution""; ""How It Works""; ""Best Practice""; ""2-2. Creating a Model from an Existing Database""; ""Problem""; ""Solution""; ""How It Works""

""2-3. Modeling a Many-to-Many Relationship with No Payload""""Problem""; ""Solution""; ""How It Works""; ""2-4. Modeling a Many-to-Many Relationship with a Payload""; ""Problem""; ""Solution""; ""How It Works""; ""Best Practice""; ""2-5. Modeling a Self-Referencing Relationship with a Code-First Approach""; ""Problem""; ""Solution""; ""How It Works""; ""2-6. Splitting an Entity Among Multiple Tables""; ""Problem""; ""Solution""; ""How It Works""; ""2-7. Splitting a Table Among Multiple Entities""; ""Problem""; ""Solution""; ""How It Works""; ""2-8. Modeling Table per Type Inheritance""

""Problem""""Solution""; ""How It Works""; ""2-9. Using Conditions to



Filter an ObjectSet""; ""Problem""; ""Solution""; ""How It Works""; ""2-10. Modeling Table per Hierarchy Inheritance""; ""Problem""; ""Solution""; ""How It Works""; ""Best Practice""; ""2-11. Modeling Is-a and Has-a Relationships Between Two Entities""; ""Problem""; ""Solution""; ""How It Works""; ""2-12. Creating, Modifying, and Mapping Complex Types""; ""Problem""; ""Solution""; ""How It Works""; ""Chapter 3: Querying an Entity Data Model""; ""3-1. Querying Asynchronously""; ""Solution""; ""How It Works""

""3-2. Updating with Native SQL Statements""""Problem""; ""Solution""; ""How It Works""; ""Best Practice""; ""3-3. Fetching Objects with Native SQL Statements""; ""Problem""; ""Solution""; ""How It Works""; ""3-4. Querying a Model with Entity SQL""; ""Problem""; ""Solution""; ""How It Works""; ""3-5. Finding a Master That Has Detail in a Master-Detail Relationship""; ""Problem""; ""Solution""; ""How It Works""; ""3-6. Setting Default Values in a Query""; ""Problem""; ""Solution""; ""How It Works""; ""3-7. Returning Multiple Result Sets from a Stored Procedure""; ""Problem""; ""Solution""

""How It Works""""3-8. Comparing Against a List of Values""; ""Problem""; ""Solution""; ""How It Works""; ""3-9. Filtering Related Entities""; ""Problem""; ""Solution""; ""How It Works""; ""3-10. Applying a Left-Outer Join""; ""Problem""; ""Solution""; ""How It Works""; ""3-11. Ordering by Derived Types""; ""Problem""; ""Solution""; ""How It Works""; ""3-12. Paging and Filtering""; ""Problem""; ""Solution""; ""How It Works""; ""3-13. Grouping by Date""; ""Problem""; ""Solution""; ""How It Works""; ""3-14. Flattening Query Results""; ""Problem""; ""Solution""; ""How It Works""

""3-15. Grouping by Multiple Properties""

Sommario/riassunto

Entity Framework 6 Recipes provides an exhaustive collection of ready-to-use code solutions for Entity Framework, Microsoft's model-centric, data-access platform for the .NET Framework and ASP.NET development. With this book, you will learn the core concepts of Entity Framework through a broad range of clear and concise solutions to everyday data access tasks. Armed with this experience, you will be ready to dive deep into Entity Framework, experiment with new approaches, and develop ways to solve even the most difficult data access challenges. If you are a developer who likes to learn by example, then this is the right book for you. Gives ready-to-use, real-world recipes to help you with everyday tasks Places strong focus on DbContext and the Code First approach Covers new features such as Asynch Query and Save, Codebased Configuration, Connection Resiliency, Dependency Resolution, and much more.