How to get ObjectSet's entity key name?

后端 未结 7 1368
悲哀的现实
悲哀的现实 2020-12-29 00:08

I\'ve created a generic ObjectSet in my generic repository.

What I would like to get is the name of the EntityKey of ObjectS

相关标签:
7条回答
  • 2020-12-29 00:48

    See this post that I made regarding getting the EntitySetName. For my repository, I create a property that gets the entity set name for the specific class name to do exactly what you are trying to do.

    0 讨论(0)
提交回复
热议问题