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