Exemple #1
0
            public InOutCommands.DocumentAction ToDocumentAction()
            {
                var cmd = new InOutCommands.DocumentAction();

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