Ejemplo n.º 1
0
        private PersistenceOptions GetUnitOfWorkPersistenceOptions(TransactionOptions transactionOptions)
        {
            if (!transactionOptions.Equals(Options.TransactionOptions))
            {
                return(new PersistenceOptions(transactionOptions.Timeout, transactionOptions.IsolationLevel, Options.MaxDegreeOfParallelism));
            }

            return(Options);
        }