© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. Troelsen, P. JapiksePro C# 10 with .NET 6https://doi.org/10.1007/978-1-4842-7869-7_23

23. Build a Data Access Layer with Entity Framework Core

Andrew Troelsen1   and Phil Japikse2
(1)
Chambersburg, PA, USA
(2)
West Chester, OH, USA
 

The previous chapters covered the components and capabilities of EF Core. This chapter is focused on applying what you learned about EF Core to build the AutoLot data access layer. This chapter begins with creating one project for the entities and another for the data access library code. Separation of models from the data access code is a common design decision and will be taken advantage of in the ASP.NET Core chapters.

The next ...

Get Pro C# 10 with .NET 6: 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.