The TypeFactory type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Array | ||
| Bag | ||
| Basic |
Given the name of a Hibernate type such as Decimal, Decimal(19,0)
, Int32, or even NHibernate.Type.DecimalType, NHibernate.Type.DecimalType(19,0),
NHibernate.Type.Int32Type, then return an instance of NHibernate.Type.IType
| |
| CustomCollection | ||
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GenericBag | ||
| GenericIdBag | ||
| GenericList | ||
| GenericMap | ||
| GenericOrderedSet | ||
| GenericSet | ||
| GenericSortedDictionary | ||
| GenericSortedList | ||
| GenericSortedSet | ||
| GetAnsiStringType | ||
| GetBinaryType |
Gets the BinaryType with the specified length.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetSerializableType(Int32) | ||
| GetSerializableType(Type) |
Gets the SerializableType for the specified Type
| |
| GetSerializableType(Type, Int32) | ||
| GetStringType | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetTypeType | ||
| HeuristicType(String) |
Uses heuristics to deduce a NHibernate type given a string naming the
type.
| |
| HeuristicType(String, IDictionary<(Of <<'(String, String>)>>)) |
Uses heuristics to deduce a NHibernate type given a string naming the type.
| |
| HeuristicType(String, IDictionary<(Of <<'(String, String>)>>), Nullable<(Of <<'(Int32>)>>)) |
Uses heuristics to deduce a NHibernate type given a string naming the type.
| |
| IdBag | ||
| InjectParameters | ||
| List | ||
| ManyToOne(String) |
A many-to-one association type for the given class and cascade style.
| |
| ManyToOne(String, Boolean) |
A many-to-one association type for the given class and cascade style.
| |
| ManyToOne(String, String, Boolean, Boolean, Boolean, Boolean) |
A many-to-one association type for the given class and cascade style.
| |
| Map | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OneToOne |
A one-to-one association type for the given class and cascade style.
| |
| OrderedMap | ||
| OrderedSet | ||
| Set | ||
| SortedMap | ||
| SortedSet | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
| IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsProxy | (Defined by NHibernateProxyHelper.) | |
| ToTypeParameters | (Defined by ReflectHelper.) |
Properties
| Name | Description | |
|---|---|---|
| CollectionTypeFactory |