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