Esempio n. 1
0
 internal NormalRefundBill(decimal orderId, decimal applyformId)
     : base(applyformId)
 {
     OrderId        = orderId;
     _payBillLoader = new LazyLoader <NormalPayBill>(() => DistributionQueryService.QueryNormalPayBill(OrderId));
 }
Esempio n. 2
0
 internal OrderBill(decimal orderId)
 {
     this.OrderId            = orderId;
     _mainPayBillLoader      = new LazyLoader <NormalPayBill>(() => DistributionQueryService.QueryNormalPayBill(this.OrderId));
     _postponePayBillsLoader = new EnumerableLazyLoader <PostponePayBill>(() => DistributionQueryService.QueryPostponePayBills(this.OrderId));
 }