public MovementConfirmationCommands.DocumentAction ToDocumentAction()
            {
                var cmd = new MovementConfirmationCommands.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(MovementConfirmationCommands.DocumentAction c)
 {
     Update(c, ar => ar.DocumentAction(c.Value, c.Version, c.CommandId, c.RequesterId));
 }