public OutletManagerService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _outletManagerRepo = new OutletManagerRepo(context); _crashLogRepo = new CrashLogRepo(context); }
public FileService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _fileRepo = new FileRepo(context); _crashLogRepo = new CrashLogRepo(context); _productPictureRepo = new ProductPictureRepo(context); }
public SubscriptionService(ISubscriptionLogRepo subscriptionLogRepo, IServiceRepo subscriptionRepo) { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _subscriptionLogRepo = subscriptionLogRepo; _subscriptionRepo = subscriptionRepo; _crashLogRepo = new CrashLogRepo(context); }
public UserService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _userRepo = new UserRepo(context); _crashLogRepo = new CrashLogRepo(context); _emailIdRepo = new EmailIdRepo(context); }
public CategoryService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _categoryRepo = new CategoryRepo(context); _crashLogRepo = new CrashLogRepo(context); //_productRepo = new IProductRepo(context); }
//private readonly IProductPictureRepo _productPicRepo; public ProductService() { OrcusSMEContext context = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _productUnitTypeRepo = new ProductUnitTypeRepo(context); _crashLogRepo = new CrashLogRepo(context); _inventoryLogRepo = new InventoryLogRepo(context); _productRepo = new ProductRepo(context); _outletManagerRepo = new OutletManagerRepo(context); _categoryRepo = new CategoryRepo(context); //_productPicRepo = new ProductPictureRepo(context); }
public ProductRepo(OrcusSMEContext context) : base(context) { }
public OutletManagerRepo(OrcusSMEContext context) : base(context) { }
public UserRepo(OrcusSMEContext context) : base(context) { }
internal RepositoryBase(OrcusSMEContext context) { Db = context; _dbSet = Db.Set <T>(); }
//private readonly IDbContextTransaction transaction; internal RepositoryBase() { Db = new OrcusSMEContext(new DbContextOptions <OrcusSMEContext>()); _dbSet = Db.Set <T>(); //transaction = db.Database.BeginTransaction(); }
public EmailIdRepo(OrcusSMEContext context) : base(context) { }
public ProductPictureRepo(OrcusSMEContext context) : base(context) { }
public FileRepo(OrcusSMEContext context) : base(context) { }
public InventoryLogRepo(OrcusSMEContext context) : base(context) { }
public ProductUnitTypeRepo(OrcusSMEContext context) : base(context) { }
public CrashLogRepo(OrcusSMEContext context) : base(context) { }
public CategoryRepo(OrcusSMEContext context) : base(context) { }