Get the name of the Hibernate IType associated with the given DbType typecode with the given storage specification parameters.

Namespace: NHibernate.Dialect
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public string GetHibernateTypeName(
	DbType code,
	int length,
	int precision,
	int scale
)
Visual Basic
Public Function GetHibernateTypeName ( _
	code As DbType, _
	length As Integer, _
	precision As Integer, _
	scale As Integer _
) As String
Visual C++
public:
String^ GetHibernateTypeName(
	DbType code, 
	int length, 
	int precision, 
	int scale
)

Parameters

code
Type: System.Data..::..DbType
The DbType typecode
length
Type: System..::..Int32
The datatype length
precision
Type: System..::..Int32
The datatype precision
scale
Type: System..::..Int32
The datatype scale

Return Value

The Hibernate IType name.

See Also