
Web API Development with ASP.NET Core 8
By :

In this chapter, we learned how to access the database using EF Core. We implemented CRUD operations using the DbContext
class. We introduced some basic LINQ queries, such as query, filter, sort, create, update, and delete. We also learned how to configure the mapping using data annotations and Fluent API. With the knowledge gained in this chapter, you can build a simple application to access the database.
However, the application we built in this chapter is quite basic and only has one entity. In a real-world project, there are usually multiple entities and relationships between them.
In the next chapter, we will learn how to configure relationshiseps between entities using EF Core.