© Adam Freeman 2018

Adam Freeman, Pro Entity Framework Core 2 for ASP.NET Core MVC, https://doi.org/10.1007/978-1-4842-3435-8_12

12. Performing Data Operations

Adam Freeman

(1)London, UK

The data model in the example application is too simple to be representative of real projects, but it does allow me to easily explain how the four core data operations (creating, reading, updating, and deleting data) can be performed using Entity Framework Core. I show you how to create more complex data models in later chapters, but, as you will see in this chapter, even a simple model can reveal much about how Entity Framework Core works. Table 12-1 puts basic data operations in context.

Table 12-1. Putting Basic Data Operations in Context



What are ...

Get Pro Entity Framework Core 2 for ASP.NET Core MVC now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.