Get the name of the database type appropriate for casting operations (via the CAST() SQL function) for the given SqlType typecode.

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

Syntax

C#
public virtual string GetCastTypeName(
	SqlType sqlType
)
Visual Basic
Public Overridable Function GetCastTypeName ( _
	sqlType As SqlType _
) As String
Visual C++
public:
virtual String^ GetCastTypeName(
	SqlType^ sqlType
)

Parameters

sqlType
Type: NHibernate.SqlTypes..::..SqlType
The SqlType typecode

Return Value

The database type name

See Also