protected override void DataPortal_Create() { base.DataPortal_Create(); LoadProperty(_Code, "[Auto-Assign]"); LoadProperty(_ItemUomConversions, ItemUomConversions.New()); LoadProperty(_ItemUomRates, ItemUomRates.New()); this.BusinessRules.CheckRules(); }
private void ChildFetch() { LoadProperty(_ItemUomConversions, ItemUomConversions.Get(new SingleCriteria <int>(this.Id))); LoadProperty(_ItemUomRates, ItemUomRates.Get(new SingleCriteria <int>(this.Id))); }