The ISessionFactory type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | 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().
|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
![]() | Evict | Overloaded. |
![]() | EvictCollection | Overloaded. |
![]() | EvictQueries | Overloaded. |
![]() | 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.
|
![]() | OpenSession | Overloaded. |
Properties
Name | Description | |
---|---|---|
![]() | ConnectionProvider |
Get the IConnectionProvider used.
|
![]() | DefinedFilterNames |
Obtain a set of the names of all filters defined on this SessionFactory.
|
![]() | Dialect |
Get the SQL Dialect
|
![]() | Items |
This collections allows external libraries
to add their own configuration to the NHibernate session factory.
This is needed in such cases where the library is tightly coupled to NHibernate, such
as the case of NHibernate Search
|
![]() | Settings |