Ejemplo n.º 1
0
        public void GetDeleteAllTest()
        {
            MySQLTranslator translator = new MySQLTranslator();
            QueryProvider   provider   = new QueryProvider(new DbProvider(DbType.Sql, "Server=127.0.0.1;Database=fakedb;User Id=FakeUser;Password=fake.password;"));
            IDbCommand      cmd        = provider.GetDeleteAllCommand("TestModels");

            Assert.Equal("DELETE FROM TestModels;", cmd.CommandText);
        }