internal static Expression <Func <IntraWarehouseOrder, IntraWarehouseOrderReturn> > SelectSummary() { var pickedInventory = PickedInventoryProjectors.SelectSummary(); return(SelectBase().Merge(o => new IntraWarehouseOrderReturn { PickedInventorySummary = pickedInventory.Invoke(o.PickedInventory) })); }
internal static Expression <Func <InventoryShipmentOrder, InventoryShipmenOrderSummaryReturn> > SelectInventoryShipmentOrderSummary() { var pickOrder = InventoryPickOrderProjectors.SelectSummary(); var pickedInventory = PickedInventoryProjectors.SelectSummary(); var shipmentInfo = ShipmentInformationProjectors.SelectSummary(); return(SelectShipmentOrderBase().Merge(i => new InventoryShipmenOrderSummaryReturn { PickOrder = pickOrder.Invoke(i.InventoryPickOrder), PickedInventory = pickedInventory.Invoke(i.PickedInventory), Shipment = shipmentInfo.Invoke(i.ShipmentInformation) })); }