Given a DbType type code, determine an appropriate
null value to use in a select clause.
Namespace: NHibernate.DialectAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public virtual string GetSelectClauseNullString( SqlType sqlType ) |
Visual Basic |
---|
Public Overridable Function GetSelectClauseNullString ( _ sqlType As SqlType _ ) As String |
Visual C++ |
---|
public: virtual String^ GetSelectClauseNullString( SqlType^ sqlType ) |
Parameters
- sqlType
- Type: NHibernate.SqlTypes..::..SqlType
The DbType type code.
Return Value
The appropriate select clause value fragment.Remarks
One thing to consider here is that certain databases might
require proper casting for the nulls here since the select here
will be part of a UNION/UNION ALL.