The ISession type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ActiveEntityMode | The entity mode in effect for this session. | |
| CacheMode | The current cache mode. | |
| Connection |
Gets the ADO.NET connection.
| |
| DefaultReadOnly |
The read-only status for entities (and proxies) loaded into this Session.
| |
| FlushMode |
Determines at which points Hibernate automatically flushes the session.
| |
| IsConnected |
Is the ISession currently connected?
| |
| IsOpen |
Is the ISession still open?
| |
| SessionFactory |
Get the ISessionFactory that created this instance.
| |
| Statistics | Get the statistics for this session. | |
| Transaction |
Get the current Unit of Work and return the associated ITransaction object.
|