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

Namespace:  NHibernate.Type
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function Basic ( _
	name As String _
) As IType
C#
public static IType Basic(
	string name
)
Visual C++
public:
static IType^ Basic(
	String^ name
)
JavaScript
NHibernate.Type.TypeFactory.basic = function(name);

Parameters

name
Type: System..::.String
The name of the type.

Return Value

The instance of the IType that the string represents.

Remarks

This method will return null if the name is not found in the basicNameMap.

See Also