public Repository( IDbContext dbContext, IDbEntityStateKeeper <TEntity, TDbEntity> dbEntityStateKeeper, IDbEntityMapper dbEntityMapper) { _dbContext = dbContext; _dbSet = dbContext.GetDbSet <TDbEntity>(); _dbEntityStateKeeper = dbEntityStateKeeper; _dbEntityMapper = dbEntityMapper; }
protected Repository(IUnitOfWorkProvider unitOfWorkProvider, IDbEntityMapper dbMapper) { _unitOfWorkProvider = unitOfWorkProvider; DbMapper = dbMapper; }
public StoreRepository(IDbContext dbContext, IDbEntityStateKeeper <Store.Entities.StoreModule.Store, StoreDbEntity> dbEntityStateKeeper, IDbEntityMapper dbEntityMapper) : base(dbContext, dbEntityStateKeeper, dbEntityMapper) { }
public EfFacilityRepository(IUnitOfWorkProvider uow, IDbEntityMapper dbMapper) : base(uow, dbMapper) { }
public EfCustomerRepository(IUnitOfWorkProvider uow, IDbEntityMapper dbMapper) : base(uow, dbMapper) { }
public ProductRepository(IDbContext dbContext, IDbEntityStateKeeper <Product, ProductDbEntity> dbEntityStateKeeper, IDbEntityMapper dbEntityMapper) : base(dbContext, dbEntityStateKeeper, dbEntityMapper) { }