Exemple #1
0
 public BrandRepository(ShoesShopContext context) : base(context)
 {
 }
 public SizeRepository(ShoesShopContext context) : base(context)
 {
 }
Exemple #3
0
        private static readonly int BulkSize = 1000; //https://stackoverflow.com/questions/5940225/fastest-way-of-inserting-in-entity-framework

        public Repository(ShoesShopContext context)
        {
            _context    = context;
            _unitOfWork = new UnitOfWork(context);
        }
Exemple #4
0
 public ImageRepository(ShoesShopContext context) : base(context)
 {
 }
Exemple #5
0
 public OrderDetailRepository(ShoesShopContext context) : base(context)
 {
 }
 public PromotionRepository(ShoesShopContext context) : base(context)
 {
 }
Exemple #7
0
 public UnitOfWork(ShoesShopContext dbContext)
 {
     _dbContext = dbContext;
 }