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;
 }
Example #3
0
 public EFProductRepository(ViDBContext context)
 {
     this.context = context;
 }
 public EFVendorRepository(ViDBContext context)
 {
     this.context = context;
 }
Example #5
0
 public EFStatisticRepository(ViDBContext context)
 {
     this.context = context;
 }