Converts from System.DBNull to null.

Namespace:  EPiServer.DataAbstraction
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static Object ToSystemNull(
	Object val
)

Parameters

val
Type: System..::.Object
The object to convert.

Return Value

null if val is System.DBNull, otherwise val unchanged.

See Also