xuenian.cs
来自「系统使用VS2005编写 数据库 使用SQL server 2000 或 」· CS 代码 · 共 119 行
CS
119 行
//
// Generated by ActiveRecord Generator
//
//
namespace JPKC.DAL.WLDXT
{
using Castle.ActiveRecord;
[ActiveRecord("XUENIAN")]
public class XUENIAN : ActiveRecordBase<XUENIAN>
{
private int _xNID;
private string _xNName;
private bool _xNDELETELAG;
private int _xNOrder;
private System.Collections.IList _kECHENGs;
//private System.Collections.IList _jIBIEs;
[PrimaryKey(PrimaryKeyType.Native, "XN_ID")]
public int XNID
{
get
{
return this._xNID;
}
set
{
this._xNID = value;
}
}
[Property(Column="XN_Name")]
public string XNName
{
get
{
return this._xNName;
}
set
{
this._xNName = value;
}
}
[Property(Column="XN_DELETELAG")]
public bool XNDELETELAG
{
get
{
return this._xNDELETELAG;
}
set
{
this._xNDELETELAG = value;
}
}
[Property(Column="XN_Order")]
public int XNOrder
{
get
{
return this._xNOrder;
}
set
{
this._xNOrder = value;
}
}
[HasMany(typeof(XUENIAN), Table = "XUENIAN", ColumnKey = "XN_ID")]
public System.Collections.IList KECHENGs
{
get
{
return this._kECHENGs;
}
set
{
this._kECHENGs = value;
}
}
//[HasMany(typeof(JIBIE), Table="JIBIE", ColumnKey="XN_ID")]
//public System.Collections.IList JIBIEs
//{
// get
// {
// return this._jIBIEs;
// }
// set
// {
// this._jIBIEs = value;
// }
//}
//public static void DeleteAll()
//{
// ActiveRecordBase.DeleteAll(typeof(XUENIAN));
//}
//public static XUENIAN[] FindAll()
//{
// return ((XUENIAN[])(ActiveRecordBase.FindAll(typeof(XUENIAN))));
//}
//public static XUENIAN Find(decimal XNID)
//{
// return ((XUENIAN)(ActiveRecordBase.FindByPrimaryKey(typeof(XUENIAN), XNID)));
//}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?