ODataRouteOptions Class
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.
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. |