예제 #1
0
        public void AlterIndexAllRebuild()
        {
            var statement = Sql.AlterIndexAll("foo.bar").Rebuild();

            var text = Provider.GenerateStatement(statement);

            Assert.IsNotNull(text);
            Assert.AreEqual("REINDEX \"foo\".\"bar\";", text);
        }
예제 #2
0
파일: Index.cs 프로젝트: sk8tz/fluid-sql
        public void AlterIndexAllRebuild()
        {
            var statement = Sql.AlterIndexAll("foo.bar").Rebuild();

            var command = Utilities.GetCommand(statement);

            Assert.IsNotNull(command);
            Assert.AreEqual("ALTER INDEX ALL ON [foo].[bar] REBUILD;", command.CommandText);
        }