SPRNET-1307 - TransactionPropagation.NotSupported should run with new TransactionScopeOption.Suppress

This commit is contained in:
markpollack
2010-08-02 16:40:30 +00:00
parent ba0966d4b5
commit a516731cb7

View File

@@ -229,6 +229,10 @@ namespace Spring.Data.Core
{
txScopeOption = TransactionScopeOption.RequiresNew;
}
else if (definition.PropagationBehavior == TransactionPropagation.NotSupported)
{
txScopeOption = TransactionScopeOption.Suppress;
}
else
{
throw new Spring.Transaction.TransactionSystemException("Transaction Propagation Behavior" +