public BrandRepository(ShoesShopContext context) : base(context) { }
public SizeRepository(ShoesShopContext context) : base(context) { }
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); }
public ImageRepository(ShoesShopContext context) : base(context) { }
public OrderDetailRepository(ShoesShopContext context) : base(context) { }
public PromotionRepository(ShoesShopContext context) : base(context) { }
public UnitOfWork(ShoesShopContext dbContext) { _dbContext = dbContext; }