Why must I have a parameterless constructor for Code First / Entity Framework

后端 未结 1 1008
情书的邮戳
情书的邮戳 2020-12-20 11:27

This is more of a question of \"Why we do things\" as my actual problem was solved but I don\'t know why.

I was dealing with the following code inside my CountyRepos

相关标签:
1条回答
  • 2020-12-20 11:58

    There must be a parameterless constructor, but it can be internal or private. ref question 3

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