Click or drag to resize

EAPConvertToInt64 Method (Object, Int64)

Convert an object to an int64 handling the case when the object is DBNull. When the object is null, the return value is the value of the defaultValue parameter.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static long ToInt64(
	Object value,
	long defaultValue
)

Parameters

value
Type: SystemObject
The object to convert
defaultValue
Type: SystemInt64
The value to return if the object is DBNull.

Return Value

Type: Int64
The converted object as an integer.
See Also