private static void RunScript(int version)
{
if (String.IsNullOrEmpty(_options.Filename)) {
Exit();
}
var runner = new ScriptCreatorRunner(SharpFactory.Default.CreateDataClient(), GetAssemblyWithMigrations());
runner.Run(version, _options.MigrationGroup);
File.WriteAllText(_options.Filename, runner.GetCreatedScript(), Encoding.UTF8);
Console.WriteLine(" * Check {0} for the script dump. No migrations were performed on the database.", _options.Filename);
}