Inheritance: IEnterpriseDbContext
コード例 #1
0
 public UnitOfWork(EnterpriseDbContext dbContext,
                   ICustomerRepository customerRepository,
                   IOrderRepository orderRepository)
 {
     _dbContext = dbContext;
     Customers  = customerRepository;
     Orders     = orderRepository;
 }
コード例 #2
0
ファイル: UserService.cs プロジェクト: bapinam/khoaluan
 public UserService(EnterpriseDbContext context,
                    UserManager <AppUser> userManager,
                    SignInManager <AppUser> signInManager,
                    RoleManager <AppRole> roleManager,
                    IRoleService roleService,
                    IConfiguration config, IMapper mapper,
                    IStorageService storageService)
 {
     _context        = context;
     _userManager    = userManager;
     _signInManager  = signInManager;
     _roleManager    = roleManager;
     _config         = config;
     _mapper         = mapper;
     _storageService = storageService;
     _roleService    = roleService;
 }
コード例 #3
0
 public ProcessingDetailService(EnterpriseDbContext context, UserManager <AppUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
コード例 #4
0
 public EnrolleeRepository(EnterpriseDbContext context) : base(context)
 {
 }
コード例 #5
0
 public CustomerRepository(EnterpriseDbContext dbContext)
 {
     _base  = new RepositoryBase <Customer>(dbContext.Customers);
     _dbSet = dbContext.Customers;
 }
コード例 #6
0
 public ProductService(EnterpriseDbContext context, IMapper mapper, IStorageService storageService)
 {
     _context        = context;
     _mapper         = mapper;
     _storageService = storageService;
 }
コード例 #7
0
 protected GenericRepository(EnterpriseDbContext context)
 {
     _context = context;
 }
コード例 #8
0
ファイル: SupplierService.cs プロジェクト: bapinam/khoaluan
 public SupplierService(EnterpriseDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
コード例 #9
0
 public ProductTypeGroupService(EnterpriseDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
コード例 #10
0
 public OrderPlanService(EnterpriseDbContext context, UserManager <AppUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
コード例 #11
0
 public OrderRepository(EnterpriseDbContext dbContext)
 {
     _base = new RepositoryBase <Order>(dbContext.Orders);
 }
コード例 #12
0
 public EnterpriseReadyRepository(EnterpriseDbContext context)
 {
     this.context = context;
 }
コード例 #13
0
 public NotificationService(EnterpriseDbContext context, UserManager <AppUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
コード例 #14
0
 public RecipeService(EnterpriseDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
コード例 #15
0
 public EnterpriseReadyQuery(EnterpriseDbContext context)
 {
     this.context = context;
 }
コード例 #16
0
ファイル: ManageCodeService.cs プロジェクト: bapinam/khoaluan
 public ManageCodeService(EnterpriseDbContext context)
 {
     _context = context;
 }
コード例 #17
0
 public BillService(EnterpriseDbContext context, IMapper mapper, UserManager <AppUser> userManager)
 {
     _context     = context;
     _mapper      = mapper;
     _userManager = userManager;
 }
コード例 #18
0
 public MaterialsTypeService(EnterpriseDbContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }