Example #1
0
 internal OrderBill(decimal orderId)
 {
     this.OrderId            = orderId;
     _mainPayBillLoader      = new LazyLoader <NormalPayBill>(() => DistributionQueryService.QueryNormalPayBill(this.OrderId));
     _postponePayBillsLoader = new EnumerableLazyLoader <PostponePayBill>(() => DistributionQueryService.QueryPostponePayBills(this.OrderId));
 }