Creates ISessions.

The following tables list the members exposed by the ISessionFactory type.

Public Methods

  NameDescription
Close
Destroy this SessionFactory and release all resources connection pools, etc). It is the responsibility of the application to ensure that there are no open Sessions before calling close().

EvictOverloaded.
EvictCollectionOverloaded.
EvictQueriesOverloaded.
GetAllClassMetadata
Get all ClassMetadata as a IDictionary from Type to metadata object

GetAllCollectionMetadata
Get all CollectionMetadata as a IDictionary from role name to metadata object

GetClassMetadata
Get the ClassMetadata associated with the given entity class

GetCollectionMetadata
Get the CollectionMetadata associated with the named collection role

GetCurrentSession
Obtains the current session.

GetFilterDefinition
Obtain the definition of a filter by name.

OpenDatabinder
Create a new databinder.

OpenSessionOverloaded.

Public Properties

  NameDescription
ConnectionProvider
Get the IConnectionProvider used.

DefinedFilterNames
Obtain a set of the names of all filters defined on this SessionFactory.

Dialect
Get the SQL Dialect

Settings