예제 #1
0
 public GenericRepository(LMSDBContext context)
 {
     // comment here
     //sets the dbset
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
예제 #2
0
 public UnitOfWork()
 {
     _context = new LMSDBContext();
 }