PostgreSQL requires to cast NULL values to correctly handle UNION/UNION ALL

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

Syntax

C#
public override string GetSelectClauseNullString(
	SqlType sqlType
)
Visual Basic
Public Overrides Function GetSelectClauseNullString ( _
	sqlType As SqlType _
) As String
Visual C++
public:
virtual String^ GetSelectClauseNullString(
	SqlType^ sqlType
) override

Parameters

sqlType
Type: NHibernate.SqlTypes..::..SqlType
The DbType type code.

Return Value

null casted as sqlType: "null::sqltypename"

Remarks

See Also