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