ODataRouteAttribute 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 an attribute that can be placed on an action of an ODataController to specify the OData URLs that the action handles.
[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
Constructors
ODataRouteAttribute() |
Initializes a new instance of the ODataRouteAttribute class. |
ODataRouteAttribute(String) |
Initializes a new instance of the ODataRouteAttribute class. |
Properties
PathTemplate |
Gets the OData URL path template that this action handles. |
RouteName |
Gets or sets the OData route with which to associate the attribute. |