[Column("你那表的源主键名")] public override leixing Id{ get; set; } 转载于:https://www.cnblogs.com/lkd3063601/p/5680082.html