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