Subclasses register a typename for the given type code and maximum column length. $1 in the type name will be replaced by the column length (if appropriate)

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

Syntax

Visual Basic (Declaration)
Protected Sub RegisterColumnType ( _
	code As DbType, _
	capacity As Integer, _
	name As String _
)
C#
protected void RegisterColumnType(
	DbType code,
	int capacity,
	string name
)
Visual C++
protected:
void RegisterColumnType(
	DbType code, 
	int capacity, 
	String^ name
)
JavaScript
function registerColumnType(code, capacity, name);

Parameters

code
Type: System.Data..::.DbType
The typecode
capacity
Type: System..::.Int32
Maximum length of database type
name
Type: System..::.String
The database type name

See Also