Converts an object value that is DBNull or System.Decimal to an equivalent NullableDecimal value.
Null if x is DBNull otherwise a NullableDecimal constructed from x.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | x is null. |
| InvalidCastException | x is neither DBNull or of type Decimal. |
DBNullConvert Class | NullableTypes.HelperFunctions Namespace