© Derek J. Rouleau 2018
Derek J. RouleauBeginning Entity Framework Core 2.0https://doi.org/10.1007/978-1-4842-3375-7_3

3. Stepping Beyond the Basics

Derek J. Rouleau1 
(1)
East Baldwin, Maine, USA
 

I think it’s safe to say by this point that you are pretty comfortable with adding, retrieving, updating, and deleting records from a database using Entity Framework Core 2.0. Now it’s time to do something that’s a bit more exciting and slightly more difficult. We’ll start off by selecting only the columns we want in our query, as we generally don’t need every value in a table. In the example here, this might not seem like a big deal, but if you are working with a table that has 15+ columns and millions of rows, you can start to see why only getting the ...

Get Beginning Entity Framework Core 2.0: Database Access from .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.