Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework
![Język publikacji: angielski Język publikacji: angielski](https://static01.helion.com.pl/global/flagi/1.png)
- Autorzy:
- Julia Lerman, Rowan Miller
![Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework Julia Lerman, Rowan Miller - okładka ebooka](https://static01.helion.com.pl/global/okladki/326x466/e_2gq8.png)
![Programming Entity Framework: DbContext. Querying, Changing, and Validating Your Data with Entity Framework Julia Lerman, Rowan Miller - tył okładki ebooka](https://static01.helion.com.pl/global/okladki-tyl/326x466/e_2gq8.png)
- 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
(45.58 zł najniższa cena z 30 dni)45.38 zł
64.99 zł(-30%) -
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
(152.24 zł najniższa cena z 30 dni)152.13 zł
189.00 zł(-20%) -
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 ...(150.87 zł najniższa cena z 30 dni)
150.66 zł
189.00 zł(-20%) -
Dzięki tej książce dowiesz się, jak pozyskiwać, analizować i wizualizować dane, a potem używać ich do rozwiązywania problemów biznesowych. Wystarczy, że znasz podstawy Pythona i matematyki na poziomie liceum, aby zacząć stosować naukę o danych w codziennej pracy. Znajdziesz tu szereg praktycznych...
Data science i Python. Stawianie czoła najtrudniejszym wyzwaniom biznesowym Data science i Python. Stawianie czoła najtrudniejszym wyzwaniom biznesowym
(48.30 zł najniższa cena z 30 dni)44.85 zł
69.00 zł(-35%) -
Dzięki tej książce poznasz od podstaw Gita i GitLaba. Dowiesz się, jak skonfigurować runnery GitLaba, a także jak tworzyć i konfigurować potoki dla różnych etapów cyklu rozwoju oprogramowania. Poznasz zasady interpretacji wyników potoków w GitLabie. Nauczysz się też wdrażania kodu w różnych środo...
Automatyzacja metodyki DevOps za pomocą potoków CI/CD GitLaba. Buduj efektywne potoki CI/CD do weryfikacji, zabezpieczenia i wdrażania kodu, korzystając z rzeczywistych przykładów Automatyzacja metodyki DevOps za pomocą potoków CI/CD GitLaba. Buduj efektywne potoki CI/CD do weryfikacji, zabezpieczenia i wdrażania kodu, korzystając z rzeczywistych przykładów
(55.30 zł najniższa cena z 30 dni)51.35 zł
79.00 zł(-35%) -
ChatGPT, chatbot opracowany i udostępniony przez firmę OpenAI, szybko stał się obiektem zainteresowania internautów na całym świecie — i na nowo wzbudził gorące dyskusje wokół sztucznej inteligencji. Ludzie mediów prześcigają się w skrajnych wizjach, jedni podchodzą do tematu entuzjastyczni...(10.95 zł najniższa cena z 30 dni)
13.14 zł
21.90 zł(-40%) -
Mam wrażenie, że wokół sieci neuronowych narosło wiele mitów. Nawet niektórzy starsi członkowie mojej rodziny na hasło "sztuczna inteligencja" robią posępną minę, niezależnie od tego, czy mowa jest o generowaniu obrazów czy - na przykład - o rozpoznawaniu odręcznego pisma czy też tłumaczeniu teks...(24.57 zł najniższa cena z 30 dni)
24.57 zł
28.90 zł(-15%) -
Tę książkę docenią przede wszystkim inżynierowie oprogramowania, programiści i administratorzy systemów, którzy muszą szybko zrozumieć praktyki DevOps. Znajdziesz tu bezcenną wiedzę, która ułatwi Ci efektywną pracę z nowoczesnym stosem aplikacji i sprawne przystąpienie do zadań związanych z DevOp...
DevOps dla zdesperowanych. Praktyczny poradnik przetrwania DevOps dla zdesperowanych. Praktyczny poradnik przetrwania
(40.20 zł najniższa cena z 30 dni)43.55 zł
67.00 zł(-35%) -
Książkę szczególnie docenią analitycy bezpieczeństwa, którzy chcą się zapoznać z zestawem poleceń ARM i zdobyć wiedzę umożliwiającą im efektywne korzystanie z technik inżynierii wstecznej. Poza zestawem potrzebnych poleceń znalazło się w niej mnóstwo przydatnych informacji. Znajdziesz tu przegląd...
Niebieski lis. Polecenia procesorów Arm i inżynieria wsteczna Niebieski lis. Polecenia procesorów Arm i inżynieria wsteczna
(53.40 zł najniższa cena z 30 dni)57.84 zł
89.00 zł(-35%) -
Jeśli w swojej pracy masz lub miewasz do czynienia z danymi, z pewnością orientujesz się, że do tego celu stworzono dotąd całkiem sporo narzędzi. Nic dziwnego – przy tej liczbie danych, z jaką spotykamy się w dzisiejszym cyfrowym świecie, zdolność do ich sprawnego analizowania i wyciągania ...
Grafana. Kurs video. Monitorowanie, analiza i wizualizacja danych w czasie rzeczywistym Grafana. Kurs video. Monitorowanie, analiza i wizualizacja danych w czasie rzeczywistym
(39.90 zł najniższa cena z 30 dni)104.25 zł
139.00 zł(-25%)
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
-
Keeping up with the Python ecosystem can be daunting. Its developer tooling doesn't provide the out-of-the-box experience native to languages like Rust and Go. When it comes to long-term project maintenance or collaborating with others, every Python project faces the same problem: how to build re...(203.15 zł najniższa cena z 30 dni)
203.29 zł
239.00 zł(-15%) -
Bringing a deep-learning project into production at scale is quite challenging. To successfully scale your project, a foundational understanding of full stack deep learning, including the knowledge that lies at the intersection of hardware, software, data, and algorithms, is required.This book il...(237.15 zł najniższa cena z 30 dni)
244.53 zł
279.00 zł(-12%) -
Frontend developers have to consider many things: browser compatibility, usability, performance, scalability, SEO, and other best practices. But the most fundamental aspect of creating websites is one that often falls short: accessibility. Accessibility is the cornerstone of any website, and if a...(202.60 zł najniższa cena z 30 dni)
202.55 zł
239.00 zł(-15%) -
In this insightful and comprehensive guide, Addy Osmani shares more than a decade of experience working on the Chrome team at Google, uncovering secrets to engineering effectiveness, efficiency, and team success. Engineers and engineering leaders looking to scale their effectiveness and drive tra...(116.53 zł najniższa cena z 30 dni)
116.48 zł
149.00 zł(-22%) -
Data modeling is the single most overlooked feature in Power BI Desktop, yet it's what sets Power BI apart from other tools on the market. This practical book serves as your fast-forward button for data modeling with Power BI, Analysis Services tabular, and SQL databases. It serves as a starting ...(202.78 zł najniższa cena z 30 dni)
202.28 zł
239.00 zł(-15%) -
C# is undeniably one of the most versatile programming languages available to engineers today. With this comprehensive guide, you'll learn just how powerful the combination of C# and .NET can be. Author Ian Griffiths guides you through C# 12.0 and .NET 8 fundamentals and techniques for building c...(245.09 zł najniższa cena z 30 dni)
244.59 zł
279.00 zł(-12%) -
Learn how to get started with Futures Thinking. With this practical guide, Phil Balagtas, founder of the Design Futures Initiative and the global Speculative Futures network, shows you how designers and futurists have made futures work at companies such as Atari, IBM, Apple, Disney, Autodesk, Luf...(150.10 zł najniższa cena z 30 dni)
150.00 zł
179.00 zł(-16%) -
Augmented Analytics isn't just another book on data and analytics; it's a holistic resource for reimagining the way your entire organization interacts with information to become insight-driven.Moving beyond traditional, limited ways of making sense of data, Augmented Analytics provides a dynamic,...(178.05 zł najniższa cena z 30 dni)
177.85 zł
209.00 zł(-15%) -
Learn how to prepare for—and pass—the Kubernetes and Cloud Native Associate (KCNA) certification exam. This practical guide serves as both a study guide and point of entry for practitioners looking to explore and adopt cloud native technologies. Adrián González Sánchez ...
Kubernetes and Cloud Native Associate (KCNA) Study Guide Kubernetes and Cloud Native Associate (KCNA) Study Guide
(169.14 zł najniższa cena z 30 dni)177.65 zł
199.00 zł(-11%) -
Python is an excellent way to get started in programming, and this clear, concise guide walks you through Python a step at a time—beginning with basic programming concepts before moving on to functions, data structures, and object-oriented design. This revised third edition reflects the gro...(143.54 zł najniższa cena z 30 dni)
143.04 zł
179.00 zł(-20%)
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
![Loader](https://static01.helion.com.pl/ebookpoint/img/ajax-loader.gif)
![ajax-loader](https://static01.helion.com.pl/ebookpoint/img/ajax-loader.gif)
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.