public static void TestPrep() { repo.Clear(); application = Application.Launch(applicationPath); window = application.GetWindow("MainWindow", InitializeOption.NoCache); context = repo.Context(); }
public TuneRepository() { _dbContext = new TuneContext(); _dbContext.Tunes.Load(); // see the database _dbContext.Tunes.Add(new Model.Tune("Little Maggie")); _dbContext.Tunes.Add(new Model.Tune("Foggy Mountain Breakdown")); _dbContext.SaveChanges(); }