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%) -
Jak sądzisz, co stanowi bazę informatyki? Od czego powinien zacząć przyszły programista? Może od opanowania jednego z najpopularniejszych języków programowania? Oczywiście mógłby od tego rozpocząć, tyle że to trochę tak, jakby uczyć się korzystać z narzędzia bez świadomości, do czego ono właściwi...
Informacja i kodowanie. Krótkie wprowadzenie z przykładami zastosowań Informacja i kodowanie. Krótkie wprowadzenie z przykładami zastosowań
(41.30 zł najniższa cena z 30 dni)41.30 zł
59.00 zł(-30%) -
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
(57.84 zł najniższa cena z 30 dni)62.30 zł
89.00 zł(-30%) -
Ewolucja formularzy internetowych zaczęła się od prostych znaczników języka HTML 2.0 opublikowanego w 1993 roku. Z czasem HTML oferował bardziej zaawansowane funkcje obsługi formularzy. Późniejsze wersje, HTML4, a następnie HTML5, wprowadziły nowe typy pól, takie jak pola daty, koloru czy też adr...
Angular i formularze reaktywne. Praktyczny przewodnik Angular i formularze reaktywne. Praktyczny przewodnik
(44.85 zł najniższa cena z 30 dni)48.30 zł
69.00 zł(-30%) -
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)69.50 zł
139.00 zł(-50%) -
Tę książkę docenią praktycy: inżynierowie uczenia maszynowego i analitycy danych, poszukujący sposobu praktycznego zaadaptowania modeli transformacyjnych do swoich potrzeb. Autorzy skupili się na praktycznej stronie tworzenia aplikacji językowych, a w poszczególnych rozdziałach ujęto wszystkie na...
Przetwarzanie języka naturalnego z wykorzystaniem transformerów. Budowanie aplikacji językowych za pomocą bibliotek Hugging Face Przetwarzanie języka naturalnego z wykorzystaniem transformerów. Budowanie aplikacji językowych za pomocą bibliotek Hugging Face
(64.35 zł najniższa cena z 30 dni)69.30 zł
99.00 zł(-30%) -
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
(44.85 zł najniższa cena z 30 dni)48.30 zł
69.00 zł(-30%) -
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.84 zł najniższa cena z 30 dni)62.30 zł
89.00 zł(-30%)
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
-
Software as a service (SaaS) is on the path to becoming the de facto model for building, delivering, and operating software solutions. Adopting a multi-tenant SaaS model requires builders to take on a broad range of new architecture, implementation, and operational challenges. How data is partiti...(237.15 zł najniższa cena z 30 dni)
245.65 zł
289.00 zł(-15%) -
Great engineers don't necessarily make great leaders—at least, not without a lot of work. Finding your path to becoming a strong leader is often fraught with challenges. It's not easy to figure out how to be strategic, successful, and considerate while also being firm. Whether you're on the...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
Data science happens in code. The ability to write reproducible, robust, scaleable code is key to a data science project's success—and is absolutely essential for those working with production code. This practical book bridges the gap between data science and software engineering,and clearl...(211.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
With the massive adoption of microservices, operators and developers face far more complexity in their applications today. Service meshes can help you manage this problem by providing a unified control plane to secure, manage, and monitor your entire network. This practical guide shows you how th...(203.15 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
Get practical advice on how to leverage AI development tools for all stages of code creation, including requirements, planning, design, coding, debugging, testing, and documentation. With this book, beginners and experienced developers alike will learn how to use a wide range of tools, from gener...(164.25 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Rust's popularity is growing, due in part to features like memory safety, type safety, and thread safety. But these same elements can also make learning Rust a challenge, even for experienced programmers. This practical guide helps you make the transition to writing idiomatic Rust—while als...(164.25 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Advance your Power BI skills by adding AI to your repertoire at a practice level. With this practical book, business-oriented software engineers and developers will learn the terminologies, practices, and strategy necessary to successfully incorporate AI into your business intelligence estate. Je...(211.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Microservices can be a very effective approach for delivering value to your organization and to your customers. If you get them right, microservices help you to move fast by making changes to small parts of your system hundreds of times a day. But if you get them wrong, microservices will just ma...(203.15 zł najniższa cena z 30 dni)
203.15 zł
239.00 zł(-15%) -
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...(186.15 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...(169.14 zł najniższa cena z 30 dni)
169.14 zł
199.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.