public static void ClearAllDealDataFromMSWMDatabase() { List <string> tablesToClear = SPDatabaseUtils.GetSPDatabaseListOfDealTables(); string connString = SPFileManagementUtils.ConnectionStringMSWMDatabase; DeleteAllRecordsFromCertainTablesInSPDatabase(tablesToClear, connString); }
public static void DeleteCusipRecordFromSPTestDatabase(string cusip) { List <string> listOfTablesToDeleteCusipFrom = SPDatabaseUtils.GetSPDatabaseListOfDealTables(); string connectionString = SPFileManagementUtils.ConnectionStringSPTestDatabase; DeleteCusipRecordFromSPDatabase(cusip, listOfTablesToDeleteCusipFrom, connectionString); }