The ISession type exposes the following members.

Properties

  NameDescription
Public propertyActiveEntityMode
The entity mode in effect for this session.
Public propertyCacheMode
The current cache mode.
Public propertyConnection
Gets the ADO.NET connection.
Public propertyDefaultReadOnly
The read-only status for entities (and proxies) loaded into this Session.
Public propertyFlushMode
Determines at which points Hibernate automatically flushes the session.
Public propertyIsConnected
Is the ISession currently connected?
Public propertyIsOpen
Is the ISession still open?
Public propertySessionFactory
Get the ISessionFactory that created this instance.
Public propertyStatistics
Get the statistics for this session.
Public propertyTransaction
Get the current Unit of Work and return the associated ITransaction object.

See Also