init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
namespace Zhaizj.Framework.ORM {
|
||||
|
||||
/// <summary>
|
||||
/// 表名称批注,用于标识对象在数据库中对应的表名称
|
||||
/// </summary>
|
||||
[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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user