Used internally to obtain instances of IType.
Namespace: NHibernate.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public sealed class TypeFactory |
Visual Basic |
---|
Public NotInheritable Class TypeFactory |
Visual C++ |
---|
public ref class TypeFactory sealed |
Remarks
Applications should use static methods and constants on NHibernate.NHibernateUtil if the default
IType is good enough. For example, the TypeFactory should only be used when the String needs
to have a length of 300 instead of 255. At this point NHibernateUtil.String does not get you the
correct IType. Instead use TypeFactory.GetString(300) and keep a local variable that holds
a reference to the IType.