private IProductRepository productRepository; // = new EFProductRepository(db); public DBLoader(ViDBContext db) { statisticRepository = new EFStatisticRepository(db); vendorRepository = new EFVendorRepository(db); priceRepository = new EFPriceRepository(db); productRepository = new EFProductRepository(db); }
public EFPriceRepository(ViDBContext context) { this.context = context; }
public EFProductRepository(ViDBContext context) { this.context = context; }
public EFVendorRepository(ViDBContext context) { this.context = context; }
public EFStatisticRepository(ViDBContext context) { this.context = context; }