示例#1
0
 public QuoteStatusRequestQuery(IUnitOfWork unitOfWork)
 {
     _context = unitOfWork.Context() as QuotingDbContext;
 }
示例#2
0
 public QuoteRepository(IUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _context    = _unitOfWork.Context() as QuotingDbContext ?? throw new ArgumentException($"Expected context {typeof(QuotingDbContext).Name}");
 }
示例#3
0
 public CustomerRepository(IUnitOfWork context)
 {
     _context = context.Context() as QuotingDbContext ?? throw new ArgumentException($"Expected context {typeof(QuotingDbContext).Name}");
 }
 public BasePriceRulesAppliableToVehicleQuery(IUnitOfWork unitOfWork)
 {
     _context = unitOfWork.Context() as QuotingDbContext;
 }
示例#5
0
 public PriceModifierRulesAppliableToCustomerQuery(IUnitOfWork unitOfWork)
 {
     _context = unitOfWork.Context() as QuotingDbContext;
 }
 public QuoteInformationRequestQuery(IUnitOfWork unitOfWork)
 {
     _context = unitOfWork.Context() as QuotingDbContext;
 }
示例#7
0
 public DbSeed(QuotingDbContext context)
 {
     _context = context;
 }