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