Example #1
0
        public void DropTable <T>()
        {
            CheckDisposed();

            string sql = _emit.DropTable <T>();

            _log.Debug(sql);
            _exe.ExecuteNonQuery(sql);
        }
Example #2
0
        public void TestDropTable()
        {
            string sql = _emit.DropTable <Person>();

            Assert.AreEqual("DROP TABLE [Person]", sql);
        }