ConvertEmptyToDBNull Method

Converts to DBNull when the indicated value is empty.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static Object EmptyToDBNull(
	Object value,
	bool whiteSpaceIsDBNull = false
)

Parameters

value  Object
Value to convert.
whiteSpaceIsDBNull  Boolean  (Optional)
Indicates whether whitespace is DBNull.

Return Value

Object
Object with the value converted.

See Also