public void LoadGLAccountType(GLAccount obj)
 {
     if (obj.GLAccountType != null)
     {
         _gLAccountTypeProperty = obj.GLAccountType.CurrentDTO;
     }
 }
示例#2
0
        public void InitDTO()
        {
            GLAccountTypeDTO dt = new GLAccountTypeDTO();

            dt.GLAccountTypeID    = this.GLAccountTypeID;
            dt.Code               = this.Code;
            dt.Name               = this.Name;
            dt.GLEntityTypeID     = this.GLEntityTypeID;
            dt.IsActive           = this.IsActive;
            dt.CreatedBy          = this.CreatedBy;
            dt.CreatedOn          = this.CreatedOn;
            dt.UpdatedBy          = this.UpdatedBy;
            dt.UpdatedOn          = this.UpdatedOn;
            dt.CanHaveBankAccount = this.CanHaveBankAccount;
            dt.CanHaveBankCards   = this.CanHaveBankCards;
            dt.IsMandatory        = this.IsMandatory;
            //LoadProperty(_currentDto, dt);
            this.CurrentDTO = dt;
        }