Programming Entity Framework: Code First. Creating and Configuring Data Models from Your Classes

- Autorzy:
- Julia Lerman, Rowan Miller
- Promocja Przejdź


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 194
- Dostępne formaty:
-
ePubMobi
Opis książki: Programming Entity Framework: Code First. Creating and Configuring Data Models from Your Classes
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.
Wybrane bestsellery
-
The DbContext API captures Entity Framework’s (EF) most commonly used features and tasks, simplifying development with EF. This concise book shows you how to use the API to perform set operations with the DbSet class, handle change tracking and resolve concurrency conflicts with the Change ...
Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework
(0,00 zł najniższa cena z 30 dni)59.42 zł
69.90 zł(-15%) -
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. Not ...
Programming Entity Framework. Building Data Centric Apps with the ADO.NET Entity Framework. 2nd Edition Programming Entity Framework. Building Data Centric Apps with the ADO.NET Entity Framework. 2nd Edition
(0,00 zł najniższa cena z 30 dni)169.15 zł
199.00 zł(-15%) -
If you use Entity Framework in Visual Studio 2008 and .NET 3.5, this is the book you want. Programming Entity Framework, 1st Edition offers experienced developers a thorough introduction to Microsoft's core framework for modeling and interacting with data in .NET applications. This hands-on tour ...(0,00 zł najniższa cena z 30 dni)
169.15 zł
199.00 zł(-15%) -
O tym, ile problemów sprawia niedbale napisany kod, wie każdy programista. Nie wszyscy jednak wiedzą, jak napisać ten świetny, „czysty” kod i czym właściwie powinien się on charakteryzować. Co więcej – jak odróżnić dobry kod od złego? Odpowiedź na te pytania oraz sposoby tworzen...(0,00 zł najniższa cena z 30 dni)
51.35 zł
79.00 zł(-35%) -
Ta książka powinna zostać przestudiowana przez każdego architekta nowoczesnych systemów rozproszonych. Jej celem jest pokazanie sposobów rozwiązywania trudnych problemów związanych z projektowaniem takiego oprogramowania. W krytyczny i wszechstronny sposób omówiono w niej najważniejsze problemy u...
Złożone zagadnienia architektury oprogramowania. Jak analizować kompromisy i podejmować trudne decyzje Złożone zagadnienia architektury oprogramowania. Jak analizować kompromisy i podejmować trudne decyzje
(0,00 zł najniższa cena z 30 dni)64.35 zł
99.00 zł(-35%) -
Dave Thomas i Andy Hunt napisali pierwsze wydanie tej wpływowej książki w 1999 roku, aby pomóc swoim klientom tworzyć lepsze oprogramowanie i na nowo odnaleźć radość z kodowania. Nauki płynące z tamtego wydania pomogły wielu pokoleniom programistów zbadać istotę rozwoju oprogramowania, niezależni...
Pragmatyczny programista. Od czeladnika do mistrza. Wydanie II Pragmatyczny programista. Od czeladnika do mistrza. Wydanie II
(0,00 zł najniższa cena z 30 dni)50.05 zł
77.00 zł(-35%) -
W tej książce w sposób jasny i bardzo interesujący przedstawiono uniwersalne zasady architektury oprogramowania wraz z szeregiem wskazówek dotyczących stosowania tych reguł w praktyce. Wyczerpująco zaprezentowano tu dostępne rozwiązania i wyjaśniono, dlaczego są one tak istotne dla sukcesu przeds...
Czysta architektura. Struktura i design oprogramowania. Przewodnik dla profesjonalistów Czysta architektura. Struktura i design oprogramowania. Przewodnik dla profesjonalistów
(0,00 zł najniższa cena z 30 dni)57.85 zł
89.00 zł(-35%) -
Oto pierwszy tom dzieła, które stanowi inspirujące spojrzenie na sztuczną inteligencję. Jego zrozumienie nie wymaga wybitnej znajomości informatyki i matematyki. Książka jest wspaniałą syntezą wczesnych i późniejszych koncepcji, a także technik, przeprowadzoną we frameworku idei, metod i technolo...
Sztuczna inteligencja. Nowe spojrzenie. Wydanie IV. Tom 1 Sztuczna inteligencja. Nowe spojrzenie. Wydanie IV. Tom 1
(0,00 zł najniższa cena z 30 dni)109.85 zł
169.00 zł(-35%) -
Odpowiedź na to fundamentalne pytanie znajdziesz w tej książce ? drugim wydaniu świetnego podręcznika dla przyszłych mistrzów kodu. Zostało ono, podobnie jak inne pozycje z serii Rusz głową!, przygotowane zgodnie z najnowszymi odkryciami nauk poznawczych, teorii uczenia się i neurofizjologii. I w...
Wzorce projektowe. Rusz głową! Tworzenie rozszerzalnego i łatwego w utrzymaniu oprogramowania obiektowego. Wydanie II Wzorce projektowe. Rusz głową! Tworzenie rozszerzalnego i łatwego w utrzymaniu oprogramowania obiektowego. Wydanie II
(0,00 zł najniższa cena z 30 dni)70.85 zł
109.00 zł(-35%) -
To kolejne wydanie lubianego samouczka, dzięki któremu w ramach 24 godzinnych lekcji przyswoisz solidne podstawy programowania. Zrozumiesz, jak działają programy, i nauczysz się reguł stosowanych przez profesjonalistów przy ich projektowaniu. Dowiesz się, jak wygląda świat programistów i na czym ...
Programowanie dla początkujących w 24 godziny. Wydanie IV Programowanie dla początkujących w 24 godziny. Wydanie IV
(0,00 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-14-493-2384-4, 9781449323844
- Data wydania ebooka:
-
2011-11-18
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 1.9MB
- Rozmiar pliku Mobi:
- 1.9MB
- Kategorie:
Programowanie » Inne - Programowanie
Spis treści książki
- Programming Entity Framework: Code First
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Preface
- Audience
- Contents of This Book
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 1. Welcome to Code First
- Modeling with EF Before Code First
- Inception of Code First
- Getting Code First to Developers in Between .NET Releases
- Writing the CodeFirst
- Managing Objects with DbContext
- Using the Data Layer and Domain Classes
- Getting from Classes to a Database
- Working with Configuration
- Configuring with Data Annotations
- Configuring with the Fluent API
- Creating or Pointing to a Database
- What Code First Does Not Support
- Choosing Code First
- Learning from This Book
- 2. Your First Look at Code First
- Introducing EF to the Domain Classes
- Putting the Pieces Together in an Example
- Convention for Table, Schema, and Column Names
- Convention for Keys
- Convention for String Properties
- Convention for Byte Array
- Convention for Booleans
- Convention for One-to-Many Relationships
- Overriding Convention with Configurations
- Configuring with Data Annotations
- Understanding How Model Changes Impact Database Initialization
- Data Annotations and Validation-Aware UIs
- Configuring Code First with the Fluent API
- Organizing Fluent Configurations
- Summary
- 3. Using Conventions and Configurations for Property Attributes
- Working with Property Attributes in Code First
- Length
- Data Type
- Nullability and the Required Configuration
- Working with Property Attributes in Code First
- Mapping Keys
- Code First Convention Response to Unconventional Key Properties
- Configuring the Key with Data Annotations
- Using HasKey to Configure a Key Property in the Fluent API
- Configuring Database-Generated Properties
- Configuring Database-Generated Options with Data Annotations
- Configuring Database-Generated Options with the Fluent API
- Configuring TimeStamp/RowVersion Fields for Optimistic Concurrency
- Code First Convention and TimeStamp fields
- Using Data Annotations to Configure TimeStamp
- Configuring TimeStamp/RowVersion with Fluent API
- Configuring Non-Timestamp Fields for Concurrency
- Configuring for Optimistic Concurrency with Data Annotations
- Configuring for Optimistic Concurrency with Fluent API
- Mapping to Non-Unicode Database Types
- Affecting the Precision and Scale of Decimals
- Convention for Precision and Scale
- Data Annotations for Precision and Scale
- Fluent Configuration for Precision and Scale
- Working with Complex Types in Code First
- Defining Complex Types by Convention
- Configuring Unconventional Complex Types
- Specifying complex types with Data Annotations
- Specifying complex types with the Fluent API
- Working with More Complicated Complex Types
- Configuring Properties of Complex Types
- Configuring Complex Types with Data Annotations
- Configuring Complex Type Properties with the Fluent API
- Summary
- 4. Using Convention and Configuration for Relationships
- Working with Multiplicity
- Configuring Multiplicity with Data Annotations
- Configuring Multiplicity with the Fluent API
- Working with Multiplicity
- Working with Foreign Keys
- Specifying Unconventionally Named Foreign Keys
- Fixing foreign key with Data Annotations
- Fixing foreign key with the Fluent API
- Specifying Unconventionally Named Foreign Keys
- Working with Inverse Navigation Properties
- Working with Cascade Delete
- Turning On or Off Client-Side Cascade Delete with Fluent Configurations
- Setting Cascade Delete Off in Scenarios That Are Not Supported by the Database
- Exploring Many-to-Many Relationships
- Working with Relationships that Have Unidirectional Navigation
- Working with One-to-One Relationships
- Configuring One-to-One Relationships When Both Ends Are Required
- Ensuring that the sample code honors the required Photo
- Configuring one-to-one with the Fluent API
- Configuring One-to-One Relationships When Both Ends Are Required
- Summary
- 5. Using Conventions and Configurations for Database Mappings
- Mapping Class Name to Database Table and Schema Name
- Configuring Table and Schema Name with Data Annotations
- Configuring Table and Schema Name with the Fluent API
- Mapping Class Name to Database Table and Schema Name
- Mapping Property Names to Database Columns
- Modifying the Default Column Name with Data Annotations
- Modifying the Default Column Name with the Fluent API
- Affecting Column Names for Complex Types
- Allowing Multiple Entities to Map to a Single Table: aka Table Splitting
- Mapping to a Common Table using Data Annotations
- Splitting a Table Using the Fluent API
- Mapping a Single Entity Across Multiple Tables
- Controlling Which Types Get Mapped to the Database
- Preventing Types from Being Included in the Model
- Using Data Annotations to ignore types
- Using Fluent Configuration to ignore types
- Preventing Types from Being Included in the Model
- Understanding Property Mapping and Accessibility
- Scalar Property Mapping
- Accessibility of Properties, Getters, and Setters
- Preventing Properties from Being Included in the Model
- Data Annotations for Ignoring a Property
- Fluent Configuration for Ignoring a Property
- Mapping Inheritance Hierarchies
- Working with Code Firsts Default Inheritance: Table Per Hierarchy (TPH)
- Customizing the TPH Discriminator Field with the Fluent API
- Configuring Table Per Type (TPT) Hierarchy
- Configuring for Table Per Concrete Type (TPC) Inheritance
- Avoiding Mapping Exceptions with TPC
- Working with Abstract Base Classes
- Mapping Relationships
- Controlling Foreign Keys Included in Your Class
- Controlling Foreign Keys That Are Created by Code First
- Controlling generated foreign keys with entity splitting
- Controlling Many-to-Many Join Tables
- Summary
- 6. Controlling Database Location, Creation Process, and Seed Data
- Controlling the Database Location
- Controlling Database Location with a Configuration File
- Controlling Database Name with DbContext Constructor
- Controlling Connection String Name with DbContext Constructor
- Reusing Database Connections
- Controlling Database Location with Connection Factories
- Working with SqlConnectionFactory
- Working with SqlCeConnectionFactory
- Writing a custom connection factory
- Controlling the Database Location
- Working with Database Initialization
- Controlling When Database Initialization Occurs
- Switching Off Database Initialization Completely
- Database Initializers Included in Entity Framework
- Creating a Custom Database Initializer
- Setting Database Initializers from a Configuration File
- Using Database Initializers to Seed Data
- Using Database Initialization to Further Affect Database Schema
- Summary
- 7. Advanced Concepts
- Mapping to Nontable Database Objects
- Mapping to Updatable Views
- Using Views to Populate Objects
- Using Views to Populate Nonmodel Objects
- Working with Stored Procedures
- Mapping to Nontable Database Objects
- Removing Conventions
- Taking Control of Model Caching
- Understanding Model Caching
- Overriding Default Model Caching
- Working with the EdmMetadata Table
- Coding Against EdmMetadata
- Preventing Code First from Creating and Seeking EdmMetadata
- Using Code First with ObjectContext
- Summary
- 8. Whats Coming Next for Code First
- Code First Migrations
- Entity Framework Power Tools
- Reverse Engineer Code First
- Viewing a Code First Model
- View Entity Data Model (Read-only)
- View Entity Data Model XML
- View Entity Data Model DDL SQL
- Optimize Entity Data Model
- About the Authors
- SPECIAL OFFER: Upgrade this ebook with OReilly
O'Reilly Media - inne książki
-
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(0,00 zł najniższa cena z 30 dni)
296.65 zł
349.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(0,00 zł najniższa cena z 30 dni)262.65 zł
309.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
DevOps engineers, developers, and security engineers have ever-changing roles to play in today's cloud native world. In order to build secure and resilient applications, you have to be equipped with security knowledge. Enter security as code.In this book, authors BK Sarthak Das and Virginia Chu d...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
With the increasing use of AI in high-stakes domains such as medicine, law, and defense, organizations spend a lot of time and money to make ML models trustworthy. Many books on the subject offer deep dives into theories and concepts. This guide provides a practical starting point to help develop...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why are so many companies adopting GitOps for their DevOps and cloud native strategy? This reliable framework is quickly becoming the standard method for deploying apps to Kubernetes. With this practical, developer-oriented book, DevOps engineers, developers, IT architects, and SREs will learn th...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Learn the essentials of working with Flutter and Dart to build full stack applications that meet the needs of a cloud-driven world. Together, the Flutter open source UI software development kit and the Dart programming language for client development provide a unified solution to building applica...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Programming Entity Framework: Code First. Creating and Configuring Data Models from Your Classes Julia Lerman, Rowan Miller (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.