ODataRouteAttribute Class
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 an attribute that can be placed on an action of an ODataController to specify the OData URLs that the action handles.
C#
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
public sealed class ODataRouteAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
type ODataRouteAttribute = class
inherit Attribute
Public NotInheritable Class ODataRouteAttribute
Inherits Attribute
- Inheritance
-
ODataRouteAttribute
- Attributes
OData |
Initializes a new instance of the ODataRouteAttribute class. |
OData |
Initializes a new instance of the ODataRouteAttribute class. |
Path |
Gets the OData URL path template that this action handles. |
Route |
Gets or sets the OData route with which to associate the attribute. |
Product | Versions |
---|---|
OData Web API ASP .NET | 7.0, Core 7.0 |