Example #1
0
 public Repository(
     IDbContext dbContext,
     IDbEntityStateKeeper <TEntity, TDbEntity> dbEntityStateKeeper,
     IDbEntityMapper dbEntityMapper)
 {
     _dbContext           = dbContext;
     _dbSet               = dbContext.GetDbSet <TDbEntity>();
     _dbEntityStateKeeper = dbEntityStateKeeper;
     _dbEntityMapper      = dbEntityMapper;
 }
Example #2
0
 public StoreRepository(IDbContext dbContext, IDbEntityStateKeeper <Store.Entities.StoreModule.Store, StoreDbEntity> dbEntityStateKeeper, IDbEntityMapper dbEntityMapper) : base(dbContext, dbEntityStateKeeper, dbEntityMapper)
 {
 }
 public ProductRepository(IDbContext dbContext, IDbEntityStateKeeper <Product, ProductDbEntity> dbEntityStateKeeper, IDbEntityMapper dbEntityMapper) : base(dbContext, dbEntityStateKeeper, dbEntityMapper)
 {
 }