Sdílet prostřednictvím


ODataMethodAttribute Class

Definition

Annotates OData methods.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class ODataMethodAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
type ODataMethodAttribute = class
    inherit Attribute
Public NotInheritable Class ODataMethodAttribute
Inherits Attribute
Inheritance
ODataMethodAttribute
Attributes

Constructors

ODataMethodAttribute(String)

Initializes a new instance of ODataMethodAttribute with name.

Properties

MethodName

Gets or sets serialized name.

Applies to