reine Buchbestellungen ab 5 Euro senden wir Ihnen Portofrei zuDiesen Artikel senden wir Ihnen ohne weiteren Aufpreis als PAKET

Programming Entity Framework: Code First: Creating and Configuring Data Models from Your Classes
(Englisch)
Lerman, Julia & Miller, Rowan

28,95 €

inkl. MwSt. · Portofrei
Lieferzeit ca. 17 Werktage
Menge:

Produktbeschreibung

This mini book will act as an extension to Programming Entity Framework 2nd Edition. Code First is an additional means of building a model to be used with the Entity Framework and is creating a lot of excitement in the .NET development community.

Über den Autor

Julia Lerman is the leading independent authority on the Entity Framework and has been using and teaching the technology since its inception in 2006. She is well known in the .NET community as a Microsoft MVP, ASPInsider, and INETA Speaker. Julia is a frequent presenter at technical conferences around the world and writes articles for many well-known technical publications including the Data Points column in MSDN Magazine.

Julia lives in Vermont with her husband, Rich, and gigantic dog, Sampson, where she runs the Vermont.NET User Group. You can read her blog at www.thedatafarm.com/blog and follow her on Twitter at julielerman.

Rowan Miller is based in Seattle, Washington and works as a Program Manager for the ADO.Net Entity Framework team at Microsoft. Prior to moving to the US he resided in the small state of Tasmania in Australia. Rowan speaks at technical conferences and blogs at http://romiller.com. Outside of technology Rowan's passions include snowboarding, mountain biking, horse riding, rock climbing and pretty much anything else that involves being active. The primary focus of his life, however, is to follow Jesus.


Inhaltsverzeichnis

Preface;n Audience;n Contents of This Book;n Conventions Used in This Book;n Using Code Examples;n Safari® Books Online;n How to Contact Us;n Acknowledgments;nChapter 1: Welcome to Code First;n 1.1 Modeling with EF Before Code First;n 1.2 Inception of Code First;n 1.3 Getting Code First to Developers in Between .NET Releases;n 1.4 Writing the Code...First;n 1.5 Managing Objects with DbContext;n 1.6 Using the Data Layer and Domain Classes;n 1.7 Getting from Classes to a Database;n 1.8 Working with Configuration;n 1.9 Creating or Pointing to a Database;n 1.10 What Code First Does Not Support;n 1.11 Learning from This Book;nChapter 2: Your First Look at Code First;n 2.1 Introducing EF to the Domain Classes;n 2.2 Putting the Pieces Together in an Example;n 2.3 Overriding Convention with Configurations;n 2.4 Understanding How Model Changes Impact Database Initialization;n 2.5 Configuring Code First with the Fluent API;n 2.6 Summary;nChapter 3: Using Conventions and Configurations for Property Attributes;n 3.1 Working with Property Attributes in Code First;n 3.2 Mapping Keys;n 3.3 Configuring Database-Generated Properties;n 3.4 Configuring TimeStamp/RowVersion Fields for Optimistic Concurrency;n 3.5 Configuring Non-Timestamp Fields for Concurrency;n 3.6 Mapping to Non-Unicode Database Types;n 3.7 Affecting the Precision and Scale of Decimals;n 3.8 Working with Complex Types in Code First;n 3.9 Configuring Properties of Complex Types;n 3.10 Summary;nChapter 4: Using Convention and Configuration for Relationships;n 4.1 Working with Multiplicity;n 4.2 Working with Foreign Keys;n 4.3 Working with Inverse Navigation Properties;n 4.4 Working with Cascade Delete;n 4.5 Exploring Many-to-Many Relationships;n 4.6 Working with Relationships that Have Unidirectional Navigation;n 4.7 Working with One-to-One Relationships;n 4.8 Summary;nChapter 5: Using Conventions and Configurations for Database Mappings;n 5.1 Mapping Class Name to Database Table and Schema Name;n 5.2 Mapping Property Names to Database Columns;n 5.3 Allowing Multiple Entities to Map to a Single Table: aka Table Splitting;n 5.4 Mapping a Single Entity Across Multiple Tables;n 5.5 Controlling Which Types Get Mapped to the Database;n 5.6 Understanding Property Mapping and Accessibility;n 5.7 Preventing Properties from Being Included in the Model;n 5.8 Mapping Inheritance Hierarchies;n 5.9 Working with Abstract Base Classes;n 5.10 Mapping Relationships;n 5.11 Summary;nChapter 6: Controlling Database Location, Creation Process, and Seed Data;n 6.1 Controlling the Database Location;n 6.2 Working with Database Initialization;n 6.3 Using Database Initializers to Seed Data;n 6.4 Using Database Initialization to Further Affect Database Schema;n 6.5 Summary;nChapter 7: Advanced Concepts;n 7.1 Mapping to Nontable Database Objects;n 7.2 Removing Conventions;n 7.3 Taking Control of Model Caching;n 7.4 Working with the EdmMetadata Table;n 7.5 Using Code First with ObjectContext;n 7.6 Summary;nChapter 8: What's Coming Next for Code First;n 8.1 Code First Migrations;n 8.2 Entity Framework Power Tools;


Klappentext

Take advantage of the Code First data modeling approach in ADO.NET Entity Framework, and learn how to build and configure a model based on existing classes in your business domain. With this concise book, you'll work hands-on with examples to learn how Code First can create an in-memory model and database by default, and how you can exert more control over the model through further configuration.

Code First provides an alternative to the database first and model first approaches to the Entity Data Model. Learn the benefits of defining your model with code, whether you're working with an existing database or building one from scratch. If you work with Visual Studio and understand database management basics, this book is for you.
* Learn exactly what Code First does-and does not-enable you to do
* Understand how property attributes, relationships, and database mappings are inferred from your classes by Code First
* Use Data Annotations and the Fluent API to configure the Code First data model
* Perform advanced techniques, such as controlling the database schema and overriding the default model caching

This book is a continuation of author Julia Lerman's Programming Entity Framework, widely recognized as the leading book on the topic.



Datenschutz-Einstellungen