⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xuenian.cs

📁 系统使用VS2005编写 数据库 使用SQL server 2000 或 SQL server 2005 测试前请先修改app.config 或web.config 的数据库连接字符串
💻 CS
字号:
// 
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -