示例#1
0
            public ShipmentCommands.Ship ToShip()
            {
                var cmd = new ShipmentCommands.Ship();

                cmd.ShipmentId  = this.ShipmentId;
                cmd.Version     = this.Version;
                cmd.CommandId   = this.CommandId;
                cmd.RequesterId = this.RequesterId;
                return(cmd);
            }
示例#2
0
 public virtual void When(ShipmentCommands.Ship c)
 {
     Update(c, ar => ar.Ship(c.Version, c.CommandId, c.RequesterId));
 }