romiller.com

Program Manager on the .NET team at Microsoft

Skip to content
  • Home
Search

EntityType

EF6.1 Getting Key Properties for an Entity

October 7, 2014November 16, 2016 / romiller.com

Today I had a question show up in my inbox about finding the key properties of a given entity type. Searching around I didn’t find a good existing post about this, so here is the code you need. The code provides a couple of simple extension methods to DbContext. Note that the code is somewhat … Continue reading EF6.1 Getting Key Properties for an Entity

Blog at WordPress.com.
  • Subscribe Subscribed
    romiller.com
    Join 262 other subscribers

    Have a WordPress.com account? Log in now.

  • romiller.com
    View site in Reader
    Manage subscriptionsSign upLog in
    Report this content
    Collapse this bar