Example #1
0
 public GenericRepository(CenterEntities context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
Example #2
0
 public StudentRepository(CenterEntities context) : base(context)
 {
 }
Example #3
0
 public UnitOfWork()
 {
     _context = new CenterEntities();
 }
Example #4
0
 public UnitOfWork(CenterEntities context)
 {
     _context = context;
 }
Example #5
0
 public StudentRepository(CenterEntities context)
 {
     this.context = context;
 }