C# Class SharpArch.NHibernate.TransactionManager

Inheritance: ITransactionManager
Exibir arquivo Open project: sharparchitecture/Sharp-Architecture Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BeginTransaction ( IsolationLevel isolationLevel ) : IDisposable

Begins the transaction.

CommitChanges ( ) : void

This isn't specific to any one DAO and flushes everything that has been changed since the last commit.

CommitTransaction ( ) : void

Commits the transaction, saving all changes.

RollbackTransaction ( ) : void

Rolls the transaction back, discarding any changes.

TransactionManager ( [ session ) : System

Creates instance of transaction manager.

Method Details

BeginTransaction() public method

Begins the transaction.
public BeginTransaction ( IsolationLevel isolationLevel ) : IDisposable
isolationLevel IsolationLevel Transaction isolation level, see for details.
return IDisposable

CommitChanges() public method

This isn't specific to any one DAO and flushes everything that has been changed since the last commit.
public CommitChanges ( ) : void
return void

CommitTransaction() public method

Commits the transaction, saving all changes.
public CommitTransaction ( ) : void
return void

RollbackTransaction() public method

Rolls the transaction back, discarding any changes.
public RollbackTransaction ( ) : void
return void

TransactionManager() public method

Creates instance of transaction manager.
public TransactionManager ( [ session ) : System
session [
return System