Exemple #1
0
 public GenericRepository(ForecastContext context)
 {
     Context = context;
     Set     = Context.Set <T>();
 }
Exemple #2
0
 public BaseRepository(ForecastContext context, IVariablesToken variables)
 {
     _context   = context;
     _variables = variables;
     DbSet      = _context.Set <TEntity>();
 }
Exemple #3
0
 public ValorForecastRepository(ForecastContext context, IVariablesToken variables)
 {
     _context   = context;
     _variables = variables;
     DbSet      = _context.Set <ValorForecast>();
 }