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.TypeAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static IType Basic( string name ) |
Visual Basic |
---|
Public Shared Function Basic ( _ name As String _ ) As IType |
Visual C++ |
---|
public: static IType^ Basic( String^ 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.