示例#1
0
 public BaseRepository(CashDbContext context)
 {
     this.context = context;
 }
示例#2
0
 public ServiceCategory(CashDbContext dbContext, IMapper mapper)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _mapper    = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
示例#3
0
 public UnitOfWork()
 {
     context = new CashDbContext();
 }
 public ServiceTransactionRetentive(CashDbContext dbContext, IMapper mapper)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _mapper    = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
示例#5
0
 public UnitOfWork(CashDbContext context)
 {
     this.context = context;
 }