ODataSimplifiedOptions.EnableReadingKeyAsSegment 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 the reader should put key values in their own URI segment when automatically building URIs. If this value is false, automatically-generated URLs will take the form "../EntitySet('KeyValue')/..". If this value is true, automatically-generated URLs will take the form "../EntitySet/KeyValue/..". This setting only applies to URLs that are automatically generated by the ODataMessageReader and the URLs explicitly provided by the server won't be modified.
public bool EnableReadingKeyAsSegment { get; set; }
member this.EnableReadingKeyAsSegment : bool with get, set
Public Property EnableReadingKeyAsSegment As Boolean