예제 #1
0
 public Repository(ITransactionUnitOfWork unitOfWork)
 {
     if (unitOfWork == null)
     {
         throw new ArgumentNullException("unitOfWork");
     }
     _unitOfWork = (NHibernateUnitOfWork)unitOfWork;
 }
예제 #2
0
        public NHibernateDbPersister(ITransactionUnitOfWork unitOfWork)
        {
            if (unitOfWork == null)
            {
                throw new ArgumentNullException("unitOfWork");
            }

            _unitOfWork = (NHibernateUnitOfWork)unitOfWork;
        }
예제 #3
0
        public EFDbPersister(ITransactionUnitOfWork unitOfWork)
        {
            if (unitOfWork == null)
            {
                throw new ArgumentNullException("unitOfWork");
            }

            _unitOfWork = (EfUnitOfWork)unitOfWork;
            _dbContext  = _unitOfWork.Context;
        }
예제 #4
0
 public HeadOfficeRepository(ITransactionUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
 }
예제 #5
0
 public AtmRepository(ITransactionUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
 }
예제 #6
0
 public TransactionProviderEf(TransactionDbContext dbContext, ITransactionUnitOfWork transactionUnitOfWork, ITransactionRepository transactionRepository, ITransactionUnitOfWork transactionUnitOfWork1)
     : base(dbContext, transactionRepository, transactionUnitOfWork)
 {
     _transactionUnitOfWork = transactionUnitOfWork1;
 }
예제 #7
0
 public SnackMachineRepository(ITransactionUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
 }