摘要: 如果你在导航属性默认了一个新的对象,那么在efcore生成的SqL中生成一条新的插入数据到导航属性的表中 举例: public class Asset { public int AssetId {get;set;} public int DeptId {get;set;} public virtua 阅读全文
posted @ 2023-01-17 17:22 飞雪连天e^πi+1=0 阅读(125) 评论(0) 推荐(0)