Click or drag to resize

TypedMapperNullableValue Method

Returns null if the provided object is null or a blank/empty string, else the object itself. The purpose is to allow blank/empty strings to be treated as null for casting to a nullable type.

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
protected Object NullableValue(
	Object val
)

Parameters

val
Type: SystemObject
The value.

Return Value

Type: Object
null if the object is null or a blank/empty string, else the original object.
See Also