Skip to main content

Stepping Beyond the Basics

  • Chapter
  • First Online:
  • 1014 Accesses

Abstract

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 columns and rows that you need is important.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Derek J. Rouleau

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Rouleau, D.J. (2018). Stepping Beyond the Basics. In: Beginning Entity Framework Core 2.0. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3375-7_3

Download citation

Publish with us

Policies and ethics