|
Constructs an instance of an FdoBooleanValue from another FdoDataValue.
- Parameters:
-
| src | Input the other FdoDataValue. Must be of one of the following types: FdoDataType_Boolean FdoDataType_Byte FdoDataType_Decimal FdoDataType_Double FdoDataType_Int16 FdoDataType_Int32 FdoDataType_Int64 FdoDataType_Single FdoDataType_String
- value must be "TRUE", "FALSE", or numeric.
|
In all other cases, the src type is considered incompatible with this type. - Parameters:
-
| nullIfIncompatible | Input will determine what to do if the source value cannot be converted to this type: true - return NULL. false - throw an exception |
| shift | Input for future use. |
| truncate | Input in the future will determine what to do if source value is numeric but not 0 or 1: true - set the FdoBooleanValue to true. false - behaviour depends on nullIfIncompatible: true - return NULL. false - throw an exception |
- Returns:
- Returns an FdoBooleanValue, whose value is converted from the src value. If src value is numeric then: 0 is converted to false 1 is converted to true
|