public void CreateSqliteTableTest() { dbSqliteMaintenance.Set(dbSqliteAccess); //创建表 dbSqliteMaintenance.CreateTable("DbMaintenanceTest", new List <DbColumnInfo>() { new DbColumnInfo() { ColumnName = "UserName", Length = 50 } }); Assert.AreEqual(true, dbSqliteMaintenance.ExistsTable("DbMaintenanceTest")); //删除表 dbSqliteMaintenance.DropTable("DbMaintenanceTest"); Assert.AreEqual(false, dbSqliteMaintenance.ExistsTable("DbMaintenanceTest")); }