Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Models Inheritance: System.ObjectSyntax
Summary
Represents an action in the Entity Data Model.Remarks
Actions are operations that may have side effects and are used to modify data or perform operations that cannot be expressed through standard CRUD operations.Constructors
.ctor
Initializes a new instance of the EdmAction class.Syntax
.ctor
Initializes a new instance of the EdmAction class with the specified name and namespace.Syntax
Parameters
.ctor Inherited
Inherited from
objectSyntax
Properties
BindingParameterType
Gets or sets the type that this action is bound to.Syntax
Property Value
Type:string?
The type name that this action is bound to, if applicable.
Description
Gets or sets the CSDL documentation summary orCore.Description for this action.
Syntax
Property Value
Type:string?
A human-readable summary from metadata, or null when none is declared.
ElicitUrlProperties
Gets or sets JSON property names on the action result that are URLs to elicit.Syntax
Property Value
Type:System.Collections.Generic.List<string>?
The declared Microsoft.OData.Mcp.V1.ElicitUrlProperties list, or null when the term is omitted.
FullName
Gets the fully qualified name of the action.Syntax
Property Value
Type:string
The namespace and name separated by a dot.
IsBound
Gets or sets a value indicating whether the action is bound.Syntax
Property Value
Type:bool
true if the action is bound to a type; otherwise, false.
Remarks
Bound actions are called on instances of a specific type.IsTask
Gets or sets a value indicating whether the action runs as an MCP task when the client opts in.Syntax
Property Value
Type:bool
true when Microsoft.OData.Mcp.V1.Task is true; otherwise, false.
LongDescription
Gets or sets the CSDL long description orCore.LongDescription for this action.
Syntax
Property Value
Type:string?
A longer documentation string from metadata, or null when none is declared.
Name
Gets or sets the name of the action.Syntax
Property Value
Type:string
The action name.
Namespace
Gets or sets the namespace of the action.Syntax
Property Value
Type:string
The namespace containing this action.
Parameters
Gets or sets the parameters of the action.Syntax
Property Value
Type:System.Collections.Generic.List<Microsoft.OData.Mcp.Core.Models.EdmParameter>
A collection of parameters that the action accepts.
ReturnType
Gets or sets the return type of the action.Syntax
Property Value
Type:string?
The type returned by the action, if any.
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?