Skip to content

Instantly share code, notes, and snippets.

@ferventcoder
Created May 18, 2011 04:28
Show Gist options
  • Save ferventcoder/977990 to your computer and use it in GitHub Desktop.
Save ferventcoder/977990 to your computer and use it in GitHub Desktop.
RoundhousE - Migrations with new semi-fluent interface
new Migrate().Set(p =>
{
p.ConnectionString = connectionString;
p.SqlFilesDirectory = scriptsLocation;
p.EnvironmentName = environmentName;
p.Drop = dropDatabase;
p.RecoveryModeSimple = useSimpleRecoveryMode;
p.Restore = restore;
p.RestoreFromPath = restorePath;
p.RepositoryPath = repositoryPath;
p.VersionFile = versionFile;
p.VersionXPath = versionXPath;
p.Silent = true;
})
.Run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment