ASP.NET CORE Inheritance

2018-01-29 12:40:17来源:oschina作者:donald121人点击

分享

EF will only setup inheritance if two or more inherited types are explicitly included in the model. EF will not scan for base or derived types that were not otherwise included in the model. You can include types in the model by exposing aDbSetfor each type in the inheritance hierarchy.


最新文章

123

最新摄影

闪念基因

微信扫一扫

第七城市微信公众平台