Get the name of the database type associated with the given SqlType.

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

Syntax

C#
public virtual string GetTypeName(
	SqlType sqlType,
	int length,
	int precision,
	int scale
)
Visual Basic
Public Overridable Function GetTypeName ( _
	sqlType As SqlType, _
	length As Integer, _
	precision As Integer, _
	scale As Integer _
) As String
Visual C++
public:
virtual String^ GetTypeName(
	SqlType^ sqlType, 
	int length, 
	int precision, 
	int scale
)

Parameters

sqlType
Type: NHibernate.SqlTypes..::..SqlType
The SqlType
length
Type: System..::..Int32
The datatype length
precision
Type: System..::..Int32
The datatype precision
scale
Type: System..::..Int32
The datatype scale

Return Value

The database type name used by ddl.

See Also