示例#1
0
        public void TestDropStoredProcedure()
        {
            EasyMig.DropStoredProcedure("p1_test");

            EasyMig.ToSqlServer.DoMigrationsFromMemory(connectionString);

            Assert.IsFalse(EasyMig.Information.SqlServerAttachedDbFile.ProcedureExists("p1_test", connectionString));
        }
示例#2
0
        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));
        }
示例#3
0
        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));
        }