Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

HibernateTransactionManager.IsExistingTransaction Method

Check if the given transaction object indicates an existing, i.e. already begun, transaction.

[Visual Basic]
Protected Overrides Sub IsExistingTransaction( _
   ByVal transaction As Object _
)
[C#]
protected override bool IsExistingTransaction(
   object transaction
);

Parameters

transaction
Transaction object returned by DoGetTransaction.

Return Value

True if there is an existing transaction.

Exceptions

Exception Type Condition
TransactionException In the case of system errors.

See Also

HibernateTransactionManager Class | Spring.Data.NHibernate Namespace