public override void ConvertToDatabase(ConversionHandler conversionHandler, TableSelectionHandler tableSelectionHandler, FailedViewDefinitionHandler failedViewDefinitionHandler, bool createTriggers) { using (sqlConnection = new SqlConnection(Connections.OtherConnection.ConnectionString)) { try { sqlConnection.Open(); LoadSchema(); sqlConnection.Close(); } catch (Exception) { if (sqlConnection.State == ConnectionState.Open) { sqlConnection.Close(); } throw; } } }
public override void ConvertToDatabase(ConversionHandler conversionHandler, TableSelectionHandler tableSelectionHandler, FailedViewDefinitionHandler failedViewDefinitionHandler, bool createTriggers) { base.ConvertToDatabase(conversionHandler, tableSelectionHandler, failedViewDefinitionHandler, createTriggers); }
protected override void ConvertSourceDatabaseToDestination(ConversionHandler conversionHandler, TableSelectionHandler tableSelectionHandler, FailedViewDefinitionHandler failedViewDefinitionHandler, bool createTriggers) { throw new System.NotImplementedException(); }