public void TestDropStoredProcedure() { EasyMig.DropStoredProcedure("p1_test"); EasyMig.ToSqlServer.DoMigrationsFromMemory(connectionString); Assert.IsFalse(EasyMig.Information.SqlServerAttachedDbFile.ProcedureExists("p1_test", connectionString)); }
public void TestDropStoredProcedure() { var dbName = "sql_db1"; EasyMig.DropStoredProcedure("p1_test"); EasyMig.ToSqlServer.DoMigrationsFromMemory(connectionString); Assert.IsFalse(EasyMig.Information.SqlServer.ProcedureExists(dbName, "p1_test", connectionString)); }
public void TestDropStoredProcedure() { this.BeforeEach(); var dbName = "db1"; var tableName = "users"; EasyMig.ClearMigrations(); EasyMig.DropStoredProcedure("p1_test"); EasyMig.ToMySql.DoMigrationsFromMemory(completeConnectionString); Assert.IsFalse(EasyMig.Information.MySql.ProcedureExists(dbName, "p1_test", completeConnectionString)); }