Метод | Описание | |
---|---|---|
BeginTransaction ( ) : ITransaction |
Begins the transaction.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
TransactionalFlush ( ) : void |
Flushes changes in transaction.
|
|
UnitOfWork ( ISession session, IUnitOfWorkFactory factory ) : System |
Initializes a new instance of the UnitOfWork class.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposeAll ) : void |
Releases unmanaged and - optionally - managed resources
|
public BeginTransaction ( ) : ITransaction | ||
Результат | ITransaction |
protected Dispose ( bool disposeAll ) : void | ||
disposeAll | bool | |
Результат | void |
public UnitOfWork ( ISession session, IUnitOfWorkFactory factory ) : System | ||
session | ISession | The NHibernate session. |
factory | IUnitOfWorkFactory | The factory. |
Результат | System |