O'Reilly logo

Beginning Entity Framework Core 2.0: Database Access from .NET by Derek J. Rouleau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© 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. Rouleau
(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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required