The NHibernateUtil type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAny
A NHibernate serializable type
Public methodStatic memberClose(IEnumerable)
Close an IEnumerable returned by NHibernate immediately, instead of waiting until the session is closed or disconnected.
Public methodStatic memberClose(IEnumerator)
Close an IEnumerator obtained from an IEnumerable returned by NHibernate immediately, instead of waiting until the session is closed or disconnected.
Public methodStatic memberCustom
A NHibernate custom type
Public methodStatic memberEntity(String)
A Hibernate persistent object (entity) type.
Public methodStatic memberEntity(Type)
A NHibernate persistent object (entity) type
Public methodStatic memberEnum
A NHibernate persistent enum type
Public methodStatic memberGetClass
Get the true, underlying class of a proxied persistent class. This operation will initialize a proxy by side-effect.
Public methodStatic memberGetSerializable
A NHibernate serializable type
Public methodStatic memberGuessType(Object)
Guesses the IType of this object
Public methodStatic memberGuessType(Type)
Guesses the IType by the type
Public methodStatic memberInitialize
Force initialization of a proxy or persistent collection.
Public methodStatic memberIsInitialized
Is the proxy or persistent collection initialized?
Public methodStatic memberIsPropertyInitialized
Check if the property is initialized. If the named property does not exist or is not persistent, this method always returns true.

Extension Methods

  NameDescription

See Also