EFCore:Cannot use table 'xxx' for entity type 'xxx' since it is being used for entity type 'xxx' and potentially other entity types
{"Cannot use table 'CSFRAMEWORKV6_SYSTEM.tb_DataSet' for entity type 'tb_DataSet' since it is being used for entity type 'tb_DataSet' and potentially other entity types, but there is no linking relationship. Add a foreign key to 'tb_DataSet' on the primary key properties and pointing to the primary key on another entity type mapped to 'CSFRAMEWORKV6_SYSTEM.tb_DataSet'."}
原因:实体类重复
解决方案:保留一个实体类。
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网