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