Example #1
0
 public GenericRepository(SimApiContext dbContext)
 {
     _dbContext = dbContext;
     _dbSet = _dbContext.Set<TEntity>();
 }
Example #2
0
 protected BaseUnitOfWork(SimApiContext dbContext)
 {
     _dbContext = dbContext;
 }
Example #3
0
 public InMemoryUnitOfWork(SimApiContext dbContext) : base(dbContext)
 {
 }
Example #4
0
 public SqlServerUnitOfWork(SimApiContext dbContext) : base(dbContext)
 {
 }