Get the type name specified type and size

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

Syntax

C#
public string Get(
	DbType typecode,
	int size,
	int precision,
	int scale
)
Visual Basic
Public Function Get ( _
	typecode As DbType, _
	size As Integer, _
	precision As Integer, _
	scale As Integer _
) As String
Visual C++
public:
String^ Get(
	DbType typecode, 
	int size, 
	int precision, 
	int scale
)

Parameters

typecode
Type: System.Data..::..DbType
the type key
size
Type: System..::..Int32
the SQL length
precision
Type: System..::..Int32
the SQL precision
scale
Type: System..::..Int32
the SQL scale

Return Value

The associated name with smallest capacity >= size if available and the default type name otherwise

See Also