Example #1
0
 public void TestMethod1()
 {
     var db= new MyLoveContext();
     var user = db.Users.Where(m => m.Username == "kelanlee");
     Assert.True(user.Any(),user.Count().ToString());
 }
Example #2
0
 public BaseRepository()
 {
     DB=new MyLoveContext();
 }
Example #3
0
 public WishRepository()
 {
     Logger = LogManager.GetLogger(this.GetType());
     DB=new MyLoveContext();
 }