C# 클래스 Spring.Data.NHibernate.HibernateTransactionManager.HibernateTransactionObject

Hibernate-specific Tx-Aware Object
상속: Spring.Data.Support.AdoTransactionObjectSupport
파일 보기 프로젝트 열기: spring-projects/spring-net

공개 메소드들

메소드 설명
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.

메소드 상세

HasTransaction() 공개 메소드

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

SetRollbackOnly() 공개 메소드

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

SetSessionHolder() 공개 메소드

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].
리턴 void