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