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. |