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