示例#1
0
            public InOutCommands.AddLine ToAddLine()
            {
                var cmd = new InOutCommands.AddLine();

                cmd.LineNumber           = this.LineNumber;
                cmd.LocatorId            = this.LocatorId;
                cmd.ProductId            = this.ProductId;
                cmd.AttributeSetInstance = this.AttributeSetInstance;
                cmd.Description          = this.Description;
                cmd.QuantityUomId        = this.QuantityUomId;
                cmd.MovementQuantity     = this.MovementQuantity;
                cmd.DocumentNumber       = this.DocumentNumber;
                cmd.Version     = this.Version;
                cmd.CommandId   = this.CommandId;
                cmd.RequesterId = this.RequesterId;
                return(cmd);
            }
示例#2
0
 public virtual void When(InOutCommands.AddLine c)
 {
     Update(c, ar => ar.AddLine(c.LineNumber, c.LocatorId, c.ProductId, c.AttributeSetInstance, c.DamageStatusIds, c.Description, c.QuantityUomId, c.MovementQuantity, c.Version, c.CommandId, c.RequesterId));
 }