public void LoadDataOption(Home obj) { if (obj.DataOption != null) { _dataOptionProperty = obj.DataOption.CurrentDTO; } }
public void LoadDataOption(BudgetLineCategory obj) { if (obj.DataOption != null) { _dataOptionProperty = obj.DataOption.CurrentDTO; } }
public void LoadCountryDataOption(Address obj) { if (obj.CountryDataOption != null) { _countryDataOptionProperty = obj.CountryDataOption.CurrentDTO; } }
public void LoadStateDataOption(Address obj) { if (obj.StateDataOption != null) { _stateDataOptionProperty = obj.StateDataOption.CurrentDTO; } }
public void LoadDataOption(ApplicationUser obj) { if (obj.DataOption != null) { _dataOptionProperty = obj.DataOption.CurrentDTO; } }
private void AddNodes(DataOptionDTO rootNode) { foreach (DataOptionDTO DataOptionDTO in this.CurrentDTO.Where(x => x.ParentID.HasValue && x.ParentID.Value == rootNode.DataOptionID)) { AddNodes(DataOptionDTO); rootNode.children.Add(DataOptionDTO); } }
public void InitDTO() { DataOptionDTO dt = new DataOptionDTO(); dt.DataOptionID = this.DataOptionID; dt.DataOptionTypeID = this.DataOptionTypeID; dt.Code = this.Code; dt.DisplayValue = this.DisplayValue; dt.ParentID = this.ParentID; dt.SortID = this.SortID; dt.IsSystem = this.IsSystem; dt.AdditionalConfigData = this.AdditionalConfigData; dt.ActiveFrom = this.ActiveFrom; dt.ActiveTo = this.ActiveTo; dt.CreatedOn = this.CreatedOn; dt.CreatedBy = this.CreatedBy; dt.UpdatedOn = this.UpdatedOn; dt.UpdatedBy = this.UpdatedBy; //LoadProperty(_currentDto, dt); this.CurrentDTO = dt; }