public UserRepository(BookingSectorContext context)
 {
     this.context = context;
     userSet      = context.Set <User>();
 }
Пример #2
0
 public GenericRepository(BookingSectorContext myDataBase)
 {
     this.myDataBase = myDataBase;
     table           = myDataBase.Set <T>();
 }
 public SettingRepository(BookingSectorContext context)
 {
     this.context = context;
     settingSet   = context.Set <Setting>();
 }
 public TokenRepository(BookingSectorContext context)
 {
     this.context = context;
     tokenSet     = context.Set <Token>();
 }
 public TournamentRepository(BookingSectorContext context)
 {
     this.context  = context;
     tournamentSet = context.Set <Tournament>();
 }
 public BookingSectorRepository(BookingSectorContext context)
 {
     this.context     = context;
     bookingSectorSet = context.Set <BookingSector>();
 }