/// <summary> /// Deploys a database. /// </summary> public void DeployDatabase(DatabaseDeploymentStructure structure) { try { DatabaseDeployer ds = new DatabaseDeployer(); ds.DeployDatabase(structure); } catch (DeployCancelException ex) { // Deployment has been cancelled EventManager.OnNotificationMessage("*** Deployment stopped! " + ex.Message); } }
/// <summary> /// Scans databases for differences. /// </summary> public DatabaseComparison CompareDatabases(DatabasePair databases) { try { DatabaseDeployer ds = new DatabaseDeployer(); return ds.CompareDatabases(databases); } catch (DeployCancelException ex) { // Deployment has been cancelled EventManager.OnNotificationMessage("*** Verification stopped! " + ex.Message); } return null; }
/// <summary> /// Scans a database for objects to deploy. /// </summary> public DatabaseDeploymentStructure ScanDatabase(DeploymentProject project, DatabasePair databases) { DatabaseDeployer ds = new DatabaseDeployer(); return ds.ScanDatabase(project, databases); }