예제 #1
0
        public void TestLoadAll()
        {
            ctx.TeamStats.Add(stat);
            ctx.SaveChanges();

            Assert.AreEqual(1, engine.LoadAll().Count());
        }
 public void TestLoadAll()
 {
     entry.Id = 1;
     ctx.ScheduleEntries.Add(entry);
     ctx.SaveChanges();
     Assert.AreEqual(1, engine.LoadAll().Count());
 }
예제 #3
0
 public void TestLoadAll()
 {
     engine.Save(entry);
     Assert.AreEqual(1, engine.LoadAll().Count());
 }
예제 #4
0
 public void TestLoadAll()
 {
     ctx.Transactions.Add(transaction);
     ctx.SaveChanges();
     Assert.AreEqual(1, engine.LoadAll().Count());
 }
 public void TestLoadAll()
 {
     ctx.Players.Add(player);
     ctx.SaveChanges();
     Assert.AreEqual(1, engine.LoadAll().Count());
 }