Exemple #1
0
        public static MPAiContext InitializeDBModel()
        {
            MPAiContext DBModel;

            DBModel = new MPAiContext();
            DBModel.Database.Initialize(false);
            DBModel.RecordingSet.Load();
            DBModel.ScoreSet.Load();
            DBModel.UserSet.Load();
            DBModel.WordSet.Load();
            return(DBModel);
        }
Exemple #2
0
 public DbAdapter(MPAiContext context)
 {
     this.context = context;
 }