示例#1
0
        public override bool Init()
        {
            base.Init();
            BPMD boPro = (BPMD)m_boTable;

            boPro.ID = GetNextID();

            return(true);
        }
示例#2
0
        public object CopyFrom(object fromObj)
        {
            BPMD source = (BPMD)fromObj;

            if (source == null || source == this)
            {
                return(this);
            }
            this.ID      = source.ID;
            this.Code    = source.Code;
            this.Name    = source.Name;
            this.Country = source.Country;
            this.Site    = source.Site;
            this.Email   = source.Email;
            this.CtPeson = source.CtPeson;
            this.Phone   = source.Phone;
            this.Level   = source.Level;
            this.Remark  = source.Remark;
            return(this);
        }
示例#3
0
文件: BOBP.cs 项目: ToughBill/NanCrm
 public BOBP()
 {
     base.m_boId = BOIDEnum.BP;
     m_boTable = new BPMD();
 }
示例#4
0
 public BOBP()
 {
     base.m_boId = BOIDEnum.BP;
     m_boTable   = new BPMD();
 }