public Kata(string id) { Name = id; moves = new List <KataMove>(); DBAccessor db = new DBAccessor(); int size = db.GetKataSize(id); for (int i = 1; i <= size; ++i) { moves.Add(db.GetKataMove(Name, i)); } }
public static string GetDatabasePath() { return(DBAccessor.GetDatabasePath()); }
private MKKAEngine() { db = new DBAccessor(); gen = new QuestionGenerator(); LoadDB(); }