Example #1
0
 public GenericRepository(DbContextBase appDbContext, IApiExecutionContext appEx)
 {
     _appEx        = appEx;
     _appDbContext = appDbContext;
     _dbSet        = _appDbContext.Set <TEntity>();
 }
Example #2
0
 public UnitOfWorkBase(DbContextBase appDbContext, IApiExecutionContext appEx)
 {
     this.appEx        = appEx;
     this.appDbContext = appDbContext;
 }