예제 #1
0
 public EFRepository()
 {
     dbContext = new TestInnomDBContext();
 }
예제 #2
0
 ///// <summary>
 ///// The contructor requires an open DataContext to work with
 ///// </summary>
 ///// <param name="context">An open DataContext</param>
 //public GenericRepository(TestInnomContext context)
 //{
 //    _context = context;
 //}
 public GenericRepository()
 {
     _context = new TestInnomDBContext();
 }