Registers a Hibernate IType name for the given DbType type code and maximum column length.

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

Syntax

C#
protected internal void RegisterHibernateType(
	DbType code,
	int capacity,
	string name
)
Visual Basic
Protected Friend Sub RegisterHibernateType ( _
	code As DbType, _
	capacity As Integer, _
	name As String _
)
Visual C++
protected public:
void RegisterHibernateType(
	DbType code, 
	int capacity, 
	String^ name
)

Parameters

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

See Also