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

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

Syntax

C#
protected void RegisterColumnType(
	DbType code,
	int capacity,
	string name
)
Visual Basic
Protected Sub RegisterColumnType ( _
	code As DbType, _
	capacity As Integer, _
	name As String _
)
Visual C++
protected:
void RegisterColumnType(
	DbType code, 
	int capacity, 
	String^ 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