Jaa


ODataRouteOptions Class

Definition

Represents the configurable options on a conventional routing template building.

public class ODataRouteOptions
type ODataRouteOptions = class
Public Class ODataRouteOptions
Inheritance
ODataRouteOptions

Constructors

ODataRouteOptions()

Initializes a new instance of the ODataRouteOptions class.

Properties

EnableControllerNameCaseInsensitive

Gets/sets a value indicating whether to enable case insensitive for the controller name in conventional routing.

EnableKeyAsSegment

Gets or sets a value indicating whether to generate odata path template as ~/entityset/{key} Used in conventional routing.

EnableKeyInParenthesis

Gets or sets a value indicating whether to generate odata path template as ~/entityset({key}). Used in conventional routing.

EnableNonParenthesisForEmptyParameterFunction

Gets or sets a value indicating whther to generate non parenthsis for non-parameter function. Used in conventional routing.

EnableQualifiedOperationCall

Gets or sets a value indicating whether to generate odata path template as ~/Namespace.MyFunction(parameters...) Used in conventional routing.

EnableUnqualifiedOperationCall

Gets or sets a value indicating whether to generate odata path template as ~/MyFunction(parameters...) Used in conventional routing.

Applies to