Example #1
0
        public void Test3()
        {
            string sql = "Create Table orm_test(id integer primary key, name varchar(64), age int, address varchar(255))";
            int    ret = OrmUtils.ExecSql(sql);

            Assert.IsTrue(ret == 0);
        }
Example #2
0
        public void Test4()
        {
            string sql = "Drop Table  orm_test";
            int    ret = OrmUtils.ExecSql(sql);

            Assert.IsTrue(ret == 0);
        }
Example #3
0
 private void RemoveOrmTestTable()
 {
     try
     {
         string sql = "Drop Table orm_test";
         OrmUtils.ExecSql(sql);
     }
     catch
     {
         ;
     }
 }