public ShipmentCommands.AddItemAndIssuance ToAddItemAndIssuance() { var cmd = new ShipmentCommands.AddItemAndIssuance(); cmd.OrderId = this.OrderId; cmd.OrderItemSeqId = this.OrderItemSeqId; cmd.ShipGroupSeqId = this.ShipGroupSeqId; cmd.ItemIssuanceSeqId = this.ItemIssuanceSeqId; cmd.ProductId = this.ProductId; cmd.LocatorId = this.LocatorId; cmd.AttributeSetInstance = this.AttributeSetInstance; cmd.Quantity = this.Quantity; cmd.CancelQuantity = this.CancelQuantity; cmd.ItemDescription = this.ItemDescription; cmd.ShipmentId = this.ShipmentId; cmd.Version = this.Version; cmd.CommandId = this.CommandId; cmd.RequesterId = this.RequesterId; return(cmd); }
public virtual void When(ShipmentCommands.AddItemAndIssuance c) { Update(c, ar => ar.AddItemAndIssuance(c.OrderId, c.OrderItemSeqId, c.ShipGroupSeqId, c.ItemIssuanceSeqId, c.ProductId, c.LocatorId, c.AttributeSetInstance, c.Quantity, c.CancelQuantity, c.ItemDescription, c.Version, c.CommandId, c.RequesterId)); }