Namespaces

Types

Type AdoTransaction

Namespace NHibernate.Transaction

Interfaces ITransaction

Methods

Properties

Public instance methods

void Begin(IsolationLevel isolationLevel)

Begins the IDbTransaction on the IDbConnection used by the ISession .
Parameters
IsolationLevel isolationLevel

void Begin()

void Commit()

Commits the ITransaction by flushing the ISession and committing the IDbTransaction .

void Dispose()

Takes care of freeing the managed and unmanaged resources that this class is responsible for.

void Enlist(IDbCommand command)

Enlist the IDbCommand in the current ITransaction .
Docu.Documentation.Comments.Paragraph Docu.Documentation.Comments.Paragraph
Parameters
IDbCommand command The IDbCommand to enlist in this Transaction.

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

void Rollback()

Rolls back the ITransaction by calling the method Rollback on the underlying IDbTransaction .

string ToString()

Parameters
return string

Public properties

bool IsActive get;

return bool

IsolationLevel IsolationLevel get;

return IsolationLevel

bool WasCommitted get;

Gets a Boolean indicating if the transaction was committed.
return bool

bool WasRolledBack get;

Gets a Boolean indicating if the transaction was rolled back.
return bool