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