Beispiel #1
0
 public Repository(BankingContext ctx)
 {
     _ctx = ctx;
 }
Beispiel #2
0
 public GenericRepository(BankingContext ctx)
 {
     _ctx   = ctx;
     _dbSet = _ctx.Set <T>();
 }