public ShipmentCommands.ConfirmAllItemsReceived ToConfirmAllItemsReceived() { var cmd = new ShipmentCommands.ConfirmAllItemsReceived(); cmd.ShipmentId = this.ShipmentId; cmd.Version = this.Version; cmd.CommandId = this.CommandId; cmd.RequesterId = this.RequesterId; return(cmd); }
public virtual void When(ShipmentCommands.ConfirmAllItemsReceived c) { Update(c, ar => ar.ConfirmAllItemsReceived(c.DestinationLocatorId, c.Version, c.CommandId, c.RequesterId)); }