Exemplo n.º 1
0
            public PhysicalInventoryCommands.DocumentAction ToDocumentAction()
            {
                var cmd = new PhysicalInventoryCommands.DocumentAction();

                cmd.Value          = this.Value;
                cmd.DocumentNumber = this.DocumentNumber;
                cmd.Version        = this.Version;
                cmd.CommandId      = this.CommandId;
                cmd.RequesterId    = this.RequesterId;
                return(cmd);
            }
 public virtual void When(PhysicalInventoryCommands.DocumentAction c)
 {
     Update(c, ar => ar.DocumentAction(c.Value, c.Version, c.CommandId, c.RequesterId));
 }