Esempio n. 1
0
 public void LoadHome(HomeClient obj)
 {
     if (obj.Home != null)
     {
         _homeProperty = obj.Home.CurrentDTO;
     }
 }
 public void LoadHome(ApplicationPermission obj)
 {
     if (obj.Home != null)
     {
         _homeProperty = obj.Home.CurrentDTO;
     }
 }
        public void InitDTO()
        {
            HomeDTO dt = new HomeDTO();

            dt.HomeID              = this.HomeID;
            dt.GLEntityID          = this.GLEntityID;
            dt.BusinessAreaID      = this.BusinessAreaID;
            dt.HomeCostCentreCode  = this.HomeCostCentreCode;
            dt.HomeName            = this.HomeName;
            dt.Parcel              = this.Parcel;
            dt.SILTarget           = this.SILTarget;
            dt.NoofBeds            = this.NoofBeds;
            dt.AccommodationTypeId = this.AccommodationTypeId;
            dt.IsGST     = this.IsGST;
            dt.AddressID = this.AddressID;
            dt.IsActive  = this.IsActive;
            dt.CreatedBy = this.CreatedBy;
            dt.CreatedOn = this.CreatedOn;
            dt.UpdatedBy = this.UpdatedBy;
            dt.UpdatedOn = this.UpdatedOn;
            //LoadProperty(_currentDto, dt);
            this.CurrentDTO = dt;
        }