Suclasses register a typename for the given type code, to be used in CAST()
statements.
Namespace: NHibernate.DialectAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected void RegisterCastType( DbType code, string name ) |
Visual Basic |
---|
Protected Sub RegisterCastType ( _ code As DbType, _ name As String _ ) |
Visual C++ |
---|
protected: void RegisterCastType( DbType code, String^ name ) |
Parameters
- code
- Type: System.Data..::..DbType
The typecode
- name
- Type: System..::..String
The database type name