ODataRoutePrefixAttribute 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 OData controller to specify the prefix that will be used for all actions of that controller.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ODataRoutePrefixAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ODataRoutePrefixAttribute = class
inherit Attribute
Public NotInheritable Class ODataRoutePrefixAttribute
Inherits Attribute
- Inheritance
-
ODataRoutePrefixAttribute
- Attributes
Constructors
ODataRoutePrefixAttribute(String) |
Initializes a new instance of the ODataRouteAttribute class. |
Properties
Prefix |
Gets the OData URL path template that this action handles. |