using System; namespace CSFramework.DB { /// /// ORM模型的特性,用于指定该模型对应的物理表名 /// public class TableInfoAttribute : Attribute { public TableInfoAttribute(string tableName) { TableName = tableName; } /// /// 表名 /// public string TableName { get; set; } } /// /// 忽略更新的字段,Insert,Update脚本不生成该字段 /// public class IgnoreField : Attribute { } /// /// 主键字段 /// public class KeyField : Attribute { } }