Model, map, and access data effectively with Entity Framework Core 2, the latest evolution of Microsoft’s object-relational mapping framework. You will access data utilizing .NET objects via the most common data access layer used in ASP.NET Core MVC 2 projects.
Best-selling author
Adam Freeman explains how to get the most from Entity Framework Core 2 in MVC projects. He begins by describing the different ways that Entity Framework Core 2 can model data and the different types of databases that can be used. He then shows you how to use Entity Framework Core 2 in your own MVC projects, starting from the nuts and bolts and building up to the most advanced and sophisticated features, going in-depth to give you the knowledge you need. Chapters include common problems and how to avoid them.
What You’ll Learn
- Gain a solid architectural understanding of Entity Framework Core 2
- Create databases using your MVC data model
- Create MVC models using an existing database
- Access data in an MVC application using Entity Framework Core 2
- Use Entity Framework in RESTful Web Services
Who This Book Is For
ASP.NET Core MVC 2 developers who want to use Entity Framework Core 2 as the data access layer in their projects
قائمة المحتويات
Part 1.- 1 – Entity Framework Core in Context.- 2 – Your First Entity Framework Core Application.- 3 – Working with Databases.- 4 – Sports Store – A Real (Data) Application.- 5 – Sports Store – Storing Data.- 6 – Sports Store – Modifying Data.- 7 – Sports Store – Expanding the Data Model.- 8 – Sports Store – Scaling Up.- 9 – Sports Store – Customer Features.- 10 – Sports Store – Creating An API.- Part 2.- 11 – Working with Entity Framework Core.- 12 – Performing Data Operations.- 13 – Understanding Migrations.- 14 – Creating Data Relationships.- 15 – Working with Relationships.- 16 – Working with Relationships.- 17 – Scaffolding an Existing Database.- 18 – Manually Modelling a Database.-
Part 3.- 19 – Keys.- 20 – Querying Data.- 21 – Storing Data.- 22 – Deleting Data.- 23 – Using Database Server Features.- 24 – Using Transactions.
عن المؤلف
Adam Freeman is an experienced IT professional who has held senior positions in a range of companies, most recently serving as chief technology officer and chief operating officer of a global bank. Now retired, he spends his time writing and long-distance running.