Skip to Main Content
C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals - Seventh Edition
book

C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals - Seventh Edition

by Mark J. Price
November 2022
Intermediate to advanced content levelIntermediate to advanced
818 pages
20h 38m
English
Packt Publishing
Content preview from C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals - Seventh Edition

10

Working with Data Using Entity Framework Core

This chapter is about reading and writing to relational data stores, such as SQLite and SQL Server, by using the object-to-data store mapping technology named Entity Framework Core (EF Core).

This chapter will cover the following topics:

  • Understanding modern databases
  • Setting up EF Core
  • Defining EF Core models
  • Querying EF Core models
  • Loading patterns with EF Core
  • Modifying data with EF Core
  • Working with transactions
  • Code First EF Core models (online section)

Understanding modern databases

Two of the most common places to store data are in a Relational Database Management System (RDBMS) such as SQL Server, PostgreSQL, MySQL, and SQLite, or in a NoSQL database such as Azure Cosmos DB, Redis, MongoDB, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C# 10 and .NET 6 – Modern Cross-Platform Development - Sixth Edition

C# 10 and .NET 6 – Modern Cross-Platform Development - Sixth Edition

Mark J. Price
Enterprise Application Development with C# 10 and .NET 6 - Second Edition

Enterprise Application Development with C# 10 and .NET 6 - Second Edition

Ravindra Akella, Arun Kumar Tamirisa, Suneel Kumar Kunani, Bhupesh Guptha Muthiyalu

Publisher Resources

ISBN: 9781803237800Supplemental Content