ODataMessageReaderSettings.EnablePrimitiveTypeConversion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether to convert all primitive values to the type specified in the model or provided as an expected type. Note that values will still be converted to the type specified in the payload itself.
public bool EnablePrimitiveTypeConversion { get; set; }
member this.EnablePrimitiveTypeConversion : bool with get, set
Public Property EnablePrimitiveTypeConversion As Boolean
Property Value
false if primitive values and report values are not converted; true if all primitive values are converted to the type specified in the model or provided as an expected type. The default value is true.