private void EnsureCreateTable(SQLiteConnection conn, CoreGenDescription desc) { var cmd = conn.CreateCommand(); cmd.CommandText = desc.GetSql_CreateTable(); if (cmd.ExecuteNonQuery() < 0) throw new IPDatabaseException("Unable to create table"); }