protected virtual IOrderItemShipGroupAssociationStateCreated MapCreate(ICreateOrderItemShipGroupAssociation c, IOrderShipGroupCommand outerCommand, long version, IOrderShipGroupState outerState) { c.RequesterId = outerCommand.RequesterId; var stateEventId = new OrderItemShipGroupAssociationEventId(c.OrderId, c.OrderShipGroupShipGroupSeqId, c.OrderItemSeqId, version); IOrderItemShipGroupAssociationStateCreated e = NewOrderItemShipGroupAssociationStateCreated(stateEventId); var s = outerState.OrderItemShipGroupAssociations.Get(c.OrderItemSeqId, true); e.Quantity = c.Quantity; e.CancelQuantity = c.CancelQuantity; e.Active = c.Active; e.CreatedBy = (string)c.RequesterId; e.CreatedAt = ApplicationContext.Current.TimestampService.Now <DateTime>(); return(e); }// END Map(ICreate... ////////////////////////////
public void Remove(ICreateOrderItemShipGroupAssociation c) { _innerCommands.Remove(c); }
public void Add(ICreateOrderItemShipGroupAssociation c) { _innerCommands.Add(c); }
void ICreateOrderItemShipGroupAssociationCommands.Remove(ICreateOrderItemShipGroupAssociation c) { _innerCommands.Remove((CreateOrderItemShipGroupAssociationDto)c); }