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

Fields

  NameDescription
Public fieldStatic memberAnsiChar
Public fieldStatic memberAnsiString
NHibernate Ansi String type
Public fieldStatic memberBinary
NHibernate binary type
Public fieldStatic memberBinaryBlob
NHibernate binary blob type
Public fieldStatic memberBoolean
NHibernate boolean type
Public fieldStatic memberByte
NHibernate byte type
Public fieldStatic memberCharacter
NHibernate character type
Public fieldStatic memberClass
NHibernate class type
Public fieldStatic memberClassMetaType
NHibernate class meta type for association of kind
CopyC#
any
.
Public fieldStatic memberCultureInfo
NHibernate Culture Info type
Public fieldStatic memberCurrency
NHibernate Currency type (System.Decimal - DbType.Currency)
Public fieldStatic memberDate
NHibernate date type
Public fieldStatic memberDateTime
NHibernate date type
Public fieldStatic memberDateTime2
NHibernate date type
Public fieldStatic memberDateTimeOffset
NHibernate date type
Public fieldStatic memberDbTimestamp
Public fieldStatic memberDecimal
NHibernate decimal type
Public fieldStatic memberDouble
NHibernate double type
Public fieldStatic memberGuid
NHibernate Guid type.
Public fieldStatic memberInt16
NHibernate System.Int16 (short in C#) type
Public fieldStatic memberInt32
NHibernate System.Int32 (int in C#) type
Public fieldStatic memberInt64
NHibernate System.Int64 (long in C#) type
Public fieldStatic memberLocalDateTime
NHibernate local date type
Public fieldStatic memberObject
NHibernate System.Object type
Public fieldStatic memberSByte
NHibernate System.SByte type
Public fieldStatic memberSerializable
NHibernate serializable type
Public fieldStatic memberSingle
NHibernate System.Single (float in C#) Type
Public fieldStatic memberString
NHibernate String type
Public fieldStatic memberStringClob
NHibernate string clob type
Public fieldStatic memberTicks
NHibernate Ticks type
Public fieldStatic memberTime
NHibernate Time type
Public fieldStatic memberTimeAsTimeSpan
NHibernate Ticks type
Public fieldStatic memberTimeSpan
NHibernate Ticks type
Public fieldStatic memberTimestamp
NHibernate Timestamp type
Public fieldStatic memberTrueFalse
NHibernate TrueFalse type
Public fieldStatic memberUInt16
NHibernate System.UInt16 (ushort in C#) type
Public fieldStatic memberUInt32
NHibernate System.UInt32 (uint in C#) type
Public fieldStatic memberUInt64
NHibernate System.UInt64 (ulong in C#) type
Public fieldStatic memberUri
Public fieldStatic memberUtcDateTime
NHibernate utc date type
Public fieldStatic memberXDoc
Public fieldStatic memberXmlDoc
Public fieldStatic memberYesNo
NHibernate YesNo type

See Also