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