Example #1
0
 public ShopUnitOfWork(string connectionString, IMapper mapper)
 {
     _dbContext = new EFshopContext(connectionString);
     _mapper    = mapper;
 }
Example #2
0
 public ItemCharacteristicRepository(IEFshopContext context, IMapper mapper)
     : base(context, mapper)
 {
 }
Example #3
0
 public ShopGenericRepository(IEFshopContext context, IMapper mapper)
 {
     _entities   = context;
     _dbset      = _entities.Set <TDomainEntity>();
     this.mapper = mapper;
 }
Example #4
0
 public OrderRepository(IEFshopContext context, IMapper mapper)
     : base(context, mapper)
 {
 }
Example #5
0
 public CategoryRepository(IEFshopContext context, IMapper mapper)
     : base(context, mapper)
 {
 }