entityframewor core 不让属性生成数据库的列

在对应的属性上使用NotMapped特性

posted @ 2019-12-26 08:56  星空天宇  阅读(73)  评论(0)    收藏  举报