The NHibernateUtil type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Any | 
            A NHibernate serializable type
              | |
| Close(IEnumerable) | 
            Close an IEnumerable returned by NHibernate immediately,
            instead of waiting until the session is closed or disconnected.
              | |
| Close(IEnumerator) | 
            Close an IEnumerator obtained from an IEnumerable
            returned by NHibernate immediately, instead of waiting until the session is
            closed or disconnected.
              | |
| Custom | 
            A NHibernate custom type
              | |
| Entity(String) |  A Hibernate persistent object (entity) type.   | |
| Entity(Type) | 
            A NHibernate persistent object (entity) type
              | |
| Enum | 
            A NHibernate persistent enum type
              | |
| GetClass | 
            Get the true, underlying class of a proxied persistent class. This operation
            will initialize a proxy by side-effect.
              | |
| GetSerializable | 
            A NHibernate serializable type
              | |
| GuessType(Object) | 
            Guesses the IType of this object
              | |
| GuessType(Type) | 
            Guesses the IType by the type
              | |
| Initialize | 
            Force initialization of a proxy or persistent collection.
              | |
| IsInitialized | 
            Is the proxy or persistent collection initialized?
              | |
| IsPropertyInitialized |  
            Check if the property is initialized. If the named property does not exist
            or is not persistent, this method always returns true. 
              | 
Extension Methods
| Name | Description | 
|---|
Fields
| Name | Description | |
|---|---|---|
| AnsiChar | ||
| AnsiString | 
            NHibernate Ansi String type
              | |
| Binary | 
            NHibernate binary type
              | |
| BinaryBlob | 
            NHibernate binary blob type
              | |
| Boolean | 
            NHibernate boolean type
              | |
| Byte | 
            NHibernate byte type
              | |
| Character | 
            NHibernate character type
              | |
| Class | 
            NHibernate class type
              | |
| ClassMetaType | 
            NHibernate class meta type for association of kind  any  | |
| CultureInfo | 
            NHibernate Culture Info type
              | |
| Currency | 
            NHibernate Currency type (System.Decimal - DbType.Currency)
              | |
| Date | 
            NHibernate date type
              | |
| DateTime | 
            NHibernate date type
              | |
| DateTime2 | 
            NHibernate date type
              | |
| DateTimeOffset | 
            NHibernate date type
              | |
| DbTimestamp | ||
| Decimal | 
            NHibernate decimal type
              | |
| Double | 
            NHibernate double type
              | |
| Guid | 
            NHibernate Guid type.
              | |
| Int16 | 
            NHibernate System.Int16 (short in C#) type
              | |
| Int32 | 
            NHibernate System.Int32 (int in C#) type
              | |
| Int64 | 
            NHibernate System.Int64 (long in C#) type
              | |
| LocalDateTime | 
            NHibernate local date type
              | |
| Object | 
            NHibernate System.Object type
              | |
| SByte | 
            NHibernate System.SByte type
              | |
| Serializable | 
            NHibernate serializable type
              | |
| Single | 
            NHibernate System.Single (float in C#) Type
              | |
| String | 
            NHibernate String type
              | |
| StringClob | 
            NHibernate string clob type
              | |
| Ticks | 
            NHibernate Ticks type
              | |
| Time | 
            NHibernate Time type
              | |
| TimeAsTimeSpan | 
            NHibernate Ticks type
              | |
| TimeSpan | 
            NHibernate Ticks type
              | |
| Timestamp | 
            NHibernate Timestamp type
              | |
| TrueFalse | 
            NHibernate TrueFalse type
              | |
| UInt16 | 
            NHibernate System.UInt16 (ushort in C#) type
              | |
| UInt32 | 
            NHibernate System.UInt32 (uint in C#) type
              | |
| UInt64 | 
            NHibernate System.UInt64 (ulong in C#) type
              | |
| Uri | ||
| UtcDateTime | 
            NHibernate utc date type
              | |
| XDoc | ||
| XmlDoc | ||
| YesNo | 
            NHibernate YesNo type
              |