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); }
public virtual void When(ShipmentCommands.Ship c) { Update(c, ar => ar.Ship(c.Version, c.CommandId, c.RequesterId)); }