Summary
In this chapter, we looked at the essentials of ORM basics and why they are so useful. Then, we described Entity Framework Core. In particular, we discussed how to configure database mappings with class annotations and other declarations and commands that are included in DbContext
subclasses, and in configuration classes associated with each entity.
Then, we discussed how to create data structures for improving ORM performance and how to automatically create and update the physical database with the help of migrations, as well as how to query and pass updates to the database through Entity Framework Core. Finally, we learned how to pass direct SQL commands and transactions through Entity Framework Core, as well as how to deploy a data layer based on Entity Framework Core.
This chapter also reviewed some advanced features that were introduced in the latest Entity Framework Core releases.
In the next chapter, we move on to microservices orchestrators and will learn...