Exemple #1
0
 public UnitOfWork()
 {
     _dbContext = new mTakaDbContext();
 }
Exemple #2
0
 public Repository(mTakaDbContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet     = _dbContext.Set <T>();
 }