摘要: //定义 特性类: public class MyAttribute : Attribute//自定义注解类判断是否是主键 { public bool PrimaryKey = false; public string Type = null; } //完成个实体类: public class St 阅读全文