romiller.com

Program Manager on the .NET team at Microsoft

Skip to content
  • Home
Search

Keys

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.
  • Follow Following
    • romiller.com
    • Join 261 other followers
    • Already have a WordPress.com account? Log in now.
    • romiller.com
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar