using System; namespace Zhaizj.Framework.ORM { /// /// 表名称批注,用于标识对象在数据库中对应的表名称 /// [Serializable, AttributeUsage( AttributeTargets.Class )] public class TableAttribute : Attribute { private String _tableName; public TableAttribute( String tableName ) { _tableName = tableName; } public String TableName { get { return _tableName; } set { _tableName = value; } } } }