-
Book Overview & Buying
-
Table Of Contents
Clean Architecture with .NET
By :
If this is your first time working with EF Core, some of the concepts in this section may take a bit of time to fully click. EF Core sits at the intersection of object-oriented code and relational databases, and it introduces terminology and patterns that can feel unfamiliar at first. That's completely normal.
Throughout this chapter, we'll focus on how EF Core is used within a Clean Architecture application and why certain design choices are made. When you need deeper explanations of specific EF Core features, configuration options, or troubleshooting guidance, Microsoft's official documentation is an excellent companion and is worth keeping open as a reference as you work through this material:https://learn.microsoft.com/en-us/ef/core/.
With a code-first approach in place, we can now start working with EF Core, which allows us to define how data is related and stored using code, and then apply that model to a relational database. We'll begin by creating...