public override bool Init() { base.Init(); BPMD boPro = (BPMD)m_boTable; boPro.ID = GetNextID(); return(true); }
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); }
public BOBP() { base.m_boId = BOIDEnum.BP; m_boTable = new BPMD(); }