© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. Troelsen, P. JapiksePro C# 9 with .NET 5https://doi.org/10.1007/978-1-4842-6939-8_23

23. Build a Data Access Layer with Entity Framework Core

Andrew Troelsen1   and Phillip Japikse2
(1)
Minneapolis, MN, USA
(2)
West Chester, OH, USA
 

The previous chapter covered the details of EF Core and its capabilities. This chapter is focused on applying what you learned about EF Core to build the AutoLot data access layer. You begin the chapter by scaffolding the entities and derived DbContext from the previous chapter’s database. Then the project is changed from database first to code first, and the entities are updated to their final version and applied to the database ...

Get Pro C# 9 with .NET 5: Foundational Principles and Practices in Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.