예제 #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());
 }
예제 #2
0
 public BaseRepository()
 {
     DB=new MyLoveContext();
 }
예제 #3
0
 public WishRepository()
 {
     Logger = LogManager.GetLogger(this.GetType());
     DB=new MyLoveContext();
 }