Suclasses register a typename for the given type code. $1 in the
typename will be replaced by the column length (if appropriate).
Namespace:
NHibernate.DialectAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Protected Sub RegisterColumnType ( _ code As DbType, _ name As String _ ) |
C# |
---|
protected void RegisterColumnType( DbType code, string name ) |
Visual C++ |
---|
protected: void RegisterColumnType( DbType code, String^ name ) |
JavaScript |
---|
function registerColumnType(code, name); |
Parameters
- code
- Type: System.Data..::.DbType
The typecode
- name
- Type: System..::.String
The database type name