Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework
- Autorzy:
- Julia Lerman, Rowan Miller
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 258
- Dostępne formaty:
-
ePubMobi
Opis ebooka: Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework
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 Tracker API, and validate changes to your data with the Validation API.
With DbContext, you’ll be able to query and update data, whether you’re working with individual objects or graphs of objects and their related data. You’ll find numerous C# code samples to help you get started. All you need is experience with Visual Studio and database management basics.
- Use EF’s query capabilities to retrieve data, and use LINQ to sort and filter data
- Learn how to add new data, and change and delete existing data
- Use the Change Tracker API to access information EF keeps about the state of entity instances
- Control change tracking information of entities in disconnected scenarios, including NTier applications
- Validate data changes before they’re sent to the database, and set up validation rules
- Bypass EF’s query pipeline and interact directly with the database
Wybrane bestsellery
-
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 mod...
Programming Entity Framework: Code First. Creating and Configuring Data Models from Your Classes Programming Entity Framework: Code First. Creating and Configuring Data Models from Your Classes
(55.24 zł najniższa cena z 30 dni)55.24 zł
64.99 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
(160.65 zł najniższa cena z 30 dni)160.65 zł
189.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 ...(160.65 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
Czym jest inżynieria wymagań? To systematyczne podejście do pozyskiwania i dokumentowania wymagań, a także zarządzania nimi. Polega na zrozumieniu potrzeb i oczekiwań interesariuszy, a następnie opisaniu, za pomocą wymagań, systemu, który je spełnia.
Certyfikowany inżynier wymagań. Na podstawie IREB CPRE. Poziom podstawowy Certyfikowany inżynier wymagań. Na podstawie IREB CPRE. Poziom podstawowy
(55.20 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%) -
To drugie, zaktualizowane wydanie przewodnika po systemie Prometheus. Znajdziesz w nim wyczerpujące wprowadzenie do tego oprogramowania, a także wskazówki dotyczące monitorowania aplikacji i infrastruktury, tworzenia wykresów, przekazywania ostrzeżeń, bezpośredniej instrumentacji kodu i pobierani...
Prometheus w pełnej gotowości. Jak monitorować pracę infrastruktury i wydajność działania aplikacji. Wydanie II Prometheus w pełnej gotowości. Jak monitorować pracę infrastruktury i wydajność działania aplikacji. Wydanie II
(57.85 zł najniższa cena z 30 dni)53.40 zł
89.00 zł(-40%) -
Power Apps to platforma stworzona przez Microsoft, umożliwiająca łatwe projektowanie, tworzenie i dostosowywanie aplikacji bez konieczności posiadania głębokiej wiedzy programistycznej. Z użyciem Power Apps można budować niestandardowe aplikacje, które efektywnie wspierają i automatyzują różne pr...
Power Apps. Kurs video. Tworzenie biznesowych aplikacji no-code Power Apps. Kurs video. Tworzenie biznesowych aplikacji no-code
(69.65 zł najniższa cena z 30 dni)39.90 zł
199.00 zł(-80%) -
Ta książka będzie świetnym uzupełnieniem wiedzy o Flutterze i Darcie, sprawdzi się również jako wsparcie podczas rozwiązywania konkretnych problemów. Znalazło się tu ponad sto receptur, dzięki którym poznasz tajniki pisania efektywnego kodu, korzystania z narzędzi udostępnianych przez framework F...
Flutter i Dart. Receptury. Tworzenie chmurowych aplikacji full stack Flutter i Dart. Receptury. Tworzenie chmurowych aplikacji full stack
(44.85 zł najniższa cena z 30 dni)41.40 zł
69.00 zł(-40%) -
Sterownik PLC (ang. programmable logic controller) to jedno z najważniejszych urządzeń stosowanych w automatyce przemysłowej. Zawiera układ mikroprocesorowy pozwalający sterować pracą maszyn, linii produkcyjnych, oświetlenia i innych urządzeń elektrycznych w przemyśle, ale nie tylko. Tego typu st...
Języki programowania sterowników PLC: LAD, FBD, SCL, STL. Ćwiczenia dla początkujących Języki programowania sterowników PLC: LAD, FBD, SCL, STL. Ćwiczenia dla początkujących
(29.18 zł najniższa cena z 30 dni)26.94 zł
44.90 zł(-40%) -
Czy chcesz szybko i skutecznie opanować podstawy Microsoft Azure, zrozumieć jego architekturę i możliwości? W takim razie to książka dla Ciebie! Czy chcesz nauczyć się, jak wdrażać, zarządzać i skalować aplikacje w chmurze Azure, nie tracąc przy tym cennego czasu? W takim razie to książka dla C...
Azure w 1 dzień. Microsoft Azure od podstaw po zaawansowane techniki Azure w 1 dzień. Microsoft Azure od podstaw po zaawansowane techniki
-
Oto drugie, zaktualizowane i uzupełnione wydanie przewodnika po bibliotece Pandas. Dzięki tej przystępnej książce nauczysz się w pełni korzystać z możliwości oferowanych przez bibliotekę, nawet jeśli dopiero zaczynasz przygodę z analizą danych w Pythonie. Naukę rozpoczniesz z użyciem rzeczywisteg...
Jak analizować dane z biblioteką Pandas. Praktyczne wprowadzenie. Wydanie II Jak analizować dane z biblioteką Pandas. Praktyczne wprowadzenie. Wydanie II
(70.85 zł najniższa cena z 30 dni)65.40 zł
109.00 zł(-40%)
Ebooka "Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox 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 "Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-493-3184-9, 9781449331849
- Data wydania ebooka:
- 2012-02-23 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@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 2.2MB
- Rozmiar pliku Mobi:
- 2.2MB
Spis treści ebooka
- Programming Entity Framework: DbContext
- Preface
- Audience
- Contents of This Book
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 1. Introducing the DbContext API
- Getting the DbContext API into Your Project
- Looking at Some Highlights of the DbContext API
- Reducing and Simplifying Ways to Work with a Set
- Retrieving an Entity Using ID with DbSet.Find
- Avoiding Trolling Around the Guts of Entity Framework
- Working with the BreakAway Model
- Getting the Sample Solution
- Getting DbContext from an EDMX Model
- Ensuring DbContext Instances Get Disposed
- 2. Querying with DbContext
- Writing Queries with LINQ to Entities
- Querying All the Data from a Set
- Using LINQ for Sorting, Filtering, and More
- Finding a Single Object
- Querying Local Data
- Using the Load Method to Bring Data into Memory
- Running LINQ Queries Against Local
- Working with the ObservableCollection Returned by Local
- Loading Related Data
- Lazy Loading
- Understanding the downsides of lazy loading
- Lazy Loading
- Eager Loading
- Understanding the downsides of eager loading
- Using Include in LINQ queries
- Explicit Loading
- Checking If a Navigation Property Has Been Loaded
- Querying Contents of a Collection Navigation Property
- Explicit Loading a Subset of the Contents of a Navigation Property
- 3. Adding, Changing, and Deleting Entities
- Working with Single Entities
- Adding New Entities
- Changing Existing Entities
- Deleting Existing Entities
- Deleting without loading from the database
- Deleting an object with related data
- Multiple Changes at Once
- The Find or Add Pattern
- Working with Single Entities
- Working with Relationships
- Adding a Relationship Between Objects
- Changing a Relationship Between Objects
- Removing a Relationship Between Objects
- Working with Change Tracking
- Using Snapshot Change Tracking
- Understanding When Automatic Change Detection Occurs
- Controlling When DetectChanges Is Called
- Using DetectChanges to Trigger Relationship Fix-up
- Enabling and Working with Change Tracking Proxies
- Ensuring the New Instances Get Proxies
- Creating Proxy Instances for Derived Types
- Fetching Entities Without Change Tracking
- 4. Working with Disconnected Entities Including N-Tier Applications
- A Simple Operation on a Disconnected Graph
- Exploring the Challenges of N-Tier
- Using Existing N-Tier Frameworks That Support Graph Modification
- Using Explicit Operations on the Server Side
- Replaying Changes on the Server
- Understanding How DbContext Responds to Setting the State of a Single Entity
- Marking a New Entity as Added
- Marking an Existing Entity as Unchanged
- Marking an Existing Entity as Modified
- Registering an Existing Entity for Deletion
- Using a stub entity to mark for deletion
- Working with Relationships with and Without Foreign Keys
- Benefiting from foreign key properties
- Using navigation properties to define relationships
- Setting the State for Multiple Entities in an Entity Graph
- Getting the Graph into the Context
- Setting the State of Entities in a Graph
- Building a Generic Approach to Track State Locally
- Creating a Generic Method That Can Apply State Through Any Graph
- Concurrency Implications
- Tracking Individually Modified Properties
- Recording Modified Property Names
- Concurrency implications
- Recording Modified Property Names
- Recording Original Values
- Concurrency implications
- Querying and Applying Changes
- Concurrency implications
- 5. Change Tracker API
- Change Tracking Information and Operations for a Single Entity
- Working with the State Property
- Working with Current, Original, and Database Values
- Working with DbPropertyValues for Complex Types
- Copying the Values from DbPropertyValues into an Entity
- Changing Values in a DbPropertyValues
- Using the SetValues method
- Working with Individual Properties
- Working with Scalar Properties
- Working with Complex Properties
- Working with Navigation Properties
- Modifying the value of a navigation property
- Modifying navigation properties with the change tracker
- Working with collection navigation properties
- Refreshing an Entity from the Database
- Change Tracking Information and Operations for Multiple Entities
- Using the Change Tracker API in Application Scenarios
- Resolving Concurrency Conflicts
- Logging During Save Changes
- 6. Validating with the Validation API
- Defining and Triggering Validation: An Overview
- Validating a Single Object on Demand with GetValidationResult
- Specifying Property Rules with ValidationAttribute Data Annotations
- Validating Facets Configured with the Fluent API
- Validating Unmapped or Transient Properties
- Validating Complex Types
- Using Data Annotations with an EDMX Model
- Inspecting Validation Result Details
- Inspecting Individual Validation Errors
- Exploring More ValidationAttributes
- Using CustomValidationAttributes
- Validating Individual Properties on Demand
- Specifying Type-Level Validation Rules
- Using IValidatableObject for Type Validation
- Validating Multiple Rules in IValidatableObject
- Using CustomValidationAttributes for Type Validation
- Understanding How EF Combines Validations
- Validating Multiple Objects
- Validating When Saving Changes
- Reviewing ObjectContext. SaveChanges Workflow
- Understanding DbContext.SaveChanges Workflow
- Disabling Validate Before Save
- 7. Customizing Validations
- Overriding ValidateEntity in the DbContext
- Considering Different Ways to Leverage ValidateEntity
- Updating Data During SaveChanges
- Overriding SaveChanges When Validation Occurs
- Comparing ValidateEntity to SaveChanges for Custom Logic
- Using the IDictionary Parameter of ValidateEntity
- Controlling Which Entities Are Validated in ValidateEntity
- 8. Using DbContext in Advanced Scenarios
- Moving Between ObjectContext and DbContext
- Accessing ObjectContext Features from a DbContext
- Adding DbContext into Existing .NET 4 Applications
- Moving Between ObjectContext and DbContext
- Leveraging SQL Server Operators Exposed in SqlFunctions
- Querying Derived Types with DbSet
- Understanding the Interface Property Limitation
- Considering Automated Testing with DbContext
- Testing with DbSet
- Exploring a Scenario That Unnecessarily Queries the Database
- Reducing Database Hits in Testing with IDbSet
- Creating an IDbSet Implementation
- Abstracting BreakAwayContext for Tests
- Reviewing the Implementation
- Supplying Data to a FakeDbSet
- Accessing the Database Directly from DbContext
- Executing Queries with Database.SqlQuery and DbSet.SqlQuery
- Tracking Results of SqlQuery
- Executing Commands from the Database Class
- Providing Multiple Targeted Contexts in Your Application
- Reusing Classes, Configurations, and Validation Across Multiple Contexts
- Ensuring That All DbContexts Use a Single Database
- Validating Relationship Constraints and Other Validations with Multiple Contexts
- Getting Code First to Create Full BreakAwayContext Database
- 9. Whats Coming Next for Entity Framework
- Understanding Entity Frameworks Version Numbers
- Entity Framework 5.0
- Enums
- Spatial Data
- Performance Improvements
- Multiple Result Sets from Stored Procedures
- Table Value Functions
- About the Authors
- Copyright
O'Reilly Media - inne książki
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(177.65 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
169.14 zł
199.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
143.65 zł
169.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
101.15 zł
119.00 zł(-15%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(237.15 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.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.
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.
Książka drukowana
Oceny i opinie klientów: Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework 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.