Exemplo n.º 1
0
 public TeamRepository(CLTEntities context) : base(context)
 {
     this.context = context;
     this.dbSet   = context.Set <Teams>();
 }
Exemplo n.º 2
0
 public GenericRepository(CLTEntities context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
Exemplo n.º 3
0
 public PlayerRepository(CLTEntities context) : base(context)
 {
     this.context = context;
     this.dbSet   = context.Set <Players>();
 }