コード例 #1
0
        public RepositoryBase(BidsAggregatorContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            Context = context;
        }
コード例 #2
0
 public TempolaryInquiryUnitOfWork(BidsAggregatorContext context)
 {
     _context  = context;
     Inquiries = new RepositoryBase <TempolaryInquiry>(context);
     Inquirers = new RepositoryBase <TempolaryInquirer>(context);
 }
コード例 #3
0
 public InquiryUnitOfWork(BidsAggregatorContext context)
 {
     _context   = context;
     Inquiries  = new RepositoryBase <Inquiry>(_context);
     Inquireres = new RepositoryBase <Inquirer>(_context);
 }