@@ -35,7 +35,7 @@ public abstract partial class AbstractSessionImpl : ISessionImplementor
35
35
/// <summary>Get the current NHibernate transaction.</summary>
36
36
public ITransaction Transaction => ConnectionManager . Transaction ;
37
37
38
- protected bool TransactionCoordinatorShared { get ; }
38
+ protected bool IsTransactionCoordinatorShared { get ; }
39
39
40
40
public ITransactionContext TransactionContext
41
41
{
@@ -63,7 +63,7 @@ protected internal AbstractSessionImpl(ISessionFactoryImplementor factory, ISess
63
63
if ( options is ISharedSessionCreationOptions sharedOptions && sharedOptions . IsTransactionCoordinatorShared )
64
64
{
65
65
// NH specific implementation: need to port Hibernate transaction management.
66
- TransactionCoordinatorShared = true ;
66
+ IsTransactionCoordinatorShared = true ;
67
67
if ( options . UserSuppliedConnection != null )
68
68
throw new SessionException ( "Cannot simultaneously share transaction context and specify connection" ) ;
69
69
var connectionManager = sharedOptions . ConnectionManager ;
@@ -426,7 +426,7 @@ protected internal void SetClosed()
426
426
427
427
protected DbConnection CloseConnectionManager ( )
428
428
{
429
- if ( ! TransactionCoordinatorShared )
429
+ if ( ! IsTransactionCoordinatorShared )
430
430
return ConnectionManager . Close ( ) ;
431
431
ConnectionManager . RemoveDependentSession ( this ) ;
432
432
return null ;
@@ -532,7 +532,7 @@ public ITransaction BeginTransaction()
532
532
{
533
533
using ( BeginProcess ( ) )
534
534
{
535
- if ( TransactionCoordinatorShared )
535
+ if ( IsTransactionCoordinatorShared )
536
536
{
537
537
// Todo : should seriously consider not allowing a txn to begin from a child session
538
538
// can always route the request to the root session...
@@ -552,7 +552,7 @@ public ITransaction BeginTransaction(IsolationLevel isolationLevel)
552
552
{
553
553
using ( BeginProcess ( ) )
554
554
{
555
- if ( TransactionCoordinatorShared )
555
+ if ( IsTransactionCoordinatorShared )
556
556
{
557
557
// Todo : should seriously consider not allowing a txn to begin from a child session
558
558
// can always route the request to the root session...
0 commit comments