C# Class Spring.Data.NHibernate.HibernateTransactionManager.HibernateTransactionObject

Hibernate-specific Tx-Aware Object
Inheritance: Spring.Data.Support.AdoTransactionObjectSupport
Mostrar archivo Open project: spring-projects/spring-net

Public Methods

Method Description
HasTransaction ( ) : bool

Determines whether this instance has a transaction.

SetRollbackOnly ( ) : void

Sets the transaction as internally marked as rollback-only.

SetSessionHolder ( Spring.Data.NHibernate.SessionHolder sessionHolder, bool newSessionHolder ) : void

Sets the session holder.

Method Details

HasTransaction() public method

Determines whether this instance has a transaction.
public HasTransaction ( ) : bool
return bool

SetRollbackOnly() public method

Sets the transaction as internally marked as rollback-only.
public SetRollbackOnly ( ) : void
return void

SetSessionHolder() public method

Sets the session holder.
public SetSessionHolder ( Spring.Data.NHibernate.SessionHolder sessionHolder, bool newSessionHolder ) : void
sessionHolder Spring.Data.NHibernate.SessionHolder The session holder.
newSessionHolder bool if set to true [new session holder].
return void