-
Book Overview & Buying
-
Table Of Contents
Entity Framework Core Cookbook - Second Edition
By :
We want to get the best performance that we can, from the code/application side of things. When it comes to relational databases, we are interested in optimizing the following:
Modifications (inserts, updates, deletes)
Queries
Each has a different solution.
We will be using the NuGet Package Manager to install the Entity Framework Core 1 package, Microsoft.EntityFrameworkCore. We will also be using a SQL Server database to store the data, so we will also need Microsoft.EntityFrameworkCore.SqlServer. We will also need Pomelo.EntityFrameworkCore.Lolita.SqlServer for the strongly typed bulk API.
Open Using EF Core Solution from the included source code examples.
Execute the database setup script from the code samples included for this recipe. This can be found in the DataAccess project within the Database folder.
Let's see how we can improve the performance of our queries.
Entity Framework, in any of its versions and like most...