Beispiel #1
0
 public iBankDataSetup(iBankAppContext context)
 {
     _dbcontext = context;
     _dbset     = _dbcontext.Set <Customer>();
 }
Beispiel #2
0
 protected GenericRepository(iBankAppContext dbContext)
 {
     _dbset = dbContext.Set <TEntity>();
 }