jibie.cs

来自「系统使用VS2005编写 数据库 使用SQL server 2000 或 」· CS 代码 · 共 120 行

CS
120
字号
// 
// Generated by ActiveRecord Generator
// 
//
namespace JPKC.DAL.WLDXT
{
    using Castle.ActiveRecord;
    
    
    [ActiveRecord("JIBIE")]
    public class JIBIE : ActiveRecordBase<JIBIE>
    {
        
        private decimal _jBID;
        
        private string _jBName;
        
        private bool _jBDELETELAG;
        
        private int _jBOrder;
        
        private System.Collections.IList _kECHENGs;
        
        //private XUENIAN _xUENIAN;
        
        [PrimaryKey(PrimaryKeyType.Native, "JB_ID")]
        public decimal JBID
        {
            get
            {
                return this._jBID;
            }
            set
            {
                this._jBID = value;
            }
        }
        
        [Property(Column="JB_Name")]
        public string JBName
        {
            get
            {
                return this._jBName;
            }
            set
            {
                this._jBName = value;
            }
        }
        
        [Property(Column="JB_DELETELAG")]
        public bool  JBDELETELAG
        {
            get
            {
                return this._jBDELETELAG;
            }
            set
            {
                this._jBDELETELAG = value;
            }
        }
        
        [Property(Column="JB_Order")]
        public int JBOrder
        {
            get
            {
                return this._jBOrder;
            }
            set
            {
                this._jBOrder = value;
            }
        }
        
        [HasMany(typeof(JIBIE), Table="JIBIE", ColumnKey="JB_ID")]
        public System.Collections.IList KECHENGs
        {
            get
            {
                return this._kECHENGs;
            }
            set
            {
                this._kECHENGs = value;
            }
        }
        
        //[BelongsTo("XN_ID")]
        //public XUENIAN XUENIAN
        //{
        //    get
        //    {
        //        return this._xUENIAN;
        //    }
        //    set
        //    {
        //        this._xUENIAN = value;
        //    }
        //}
        
        //public static void DeleteAll()
        //{
        //    ActiveRecordBase.DeleteAll(typeof(JIBIE));
        //}
        
        //public static JIBIE[] FindAll()
        //{
        //    return ((JIBIE[])(ActiveRecordBase.FindAll(typeof(JIBIE))));
        //}
        
        //public static JIBIE Find(decimal JBID)
        //{
        //    return ((JIBIE)(ActiveRecordBase.FindByPrimaryKey(typeof(JIBIE), JBID)));
        //}
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?