SessionFactory
and release all resources
connection pools, etc). It is the responsibility of the application
to ensure that there are no open Session
s before calling close()
.
Type ISessionFactory
Namespace NHibernate
Interfaces IDisposable
SessionFactory
and release all resources
connection pools, etc). It is the responsibility of the application
to ensure that there are no open Session
s before calling close()
.
Type persistentClass |
|
object id |
Type persistentClass |
string roleName |
string roleName |
|
object id |
string cacheRegion |
ClassMetadata
as a IDictionary
from Type
to metadata object
return IDictionary |
CollectionMetadata
as a IDictionary
from role name
to metadata object
return IDictionary |
ClassMetadata
associated with the given entity class
return IClassMetadata |
|
Type persistentType |
CollectionMetadata
associated with the named collection role
return ICollectionMetadata |
|
string roleName |
Docu.Documentation.Comments.Paragraph
return ISession |
The current session. |
return FilterDefinition |
|
string filterName |
The name of the filter for which to obtain the definition. |
return IDatabinder |
ISession
on the given connectionNote that the second-level cache will be disabled if you supply a ADO.NET connection. NHibernate will not be able to track any statements you might have executed in the same transaction. Consider implementing your own IConnectionProvider .
return ISession |
A session |
IDbConnection conn |
A connection provided by the application |
ISession
on it, specifying an interceptor
return ISession |
A session |
IInterceptor interceptor |
A session-scoped interceptor |
ISession
on it
return ISession |
ISession
on the given connection, specifying an interceptorNote that the second-level cache will be disabled if you supply a ADO.NET connection. NHibernate will not be able to track any statements you might have executed in the same transaction. Consider implementing your own IConnectionProvider .
return ISession |
A session |
IDbConnection conn |
A connection provided by the application |
IInterceptor interceptor |
A session-scoped interceptor |
return IConnectionProvider
|
return ICollection
|
Dialect
return Dialect
|
return IDictionary
|
return Settings
|