Skip to main content

Definition

Assembly: Microsoft.OData.ModelBuilder.dll Namespace: Microsoft.OData.ModelBuilder

Syntax

Summary

This type is defined in Microsoft.OData.ModelBuilder.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

HasMcpElicitUrl Extension

Extension method from Microsoft.OData.ModelBuilder.ODataModelBuilderMcpExtensions
Names JSON properties on this action’s result that are URLs to elicit. GetEdmModel stamps Microsoft.OData.Mcp.V1.ElicitUrlProperties.

Syntax

Parameters

Returns

Type: Microsoft.OData.ModelBuilder.ActionConfiguration action so further configuration can chain.

Exceptions

Examples

Remarks

Pair with String[]). When this term is omitted, the runtime elicits McpVocabulary.DefaultElicitUrlProperties if they appear on the Started JSON.

HasMcpTask Extension

Extension method from Microsoft.OData.ModelBuilder.ODataModelBuilderMcpExtensions
Marks this action as an MCP task. GetEdmModel attaches Microsoft.OData.Mcp.V1 and stamps the Task term.

Syntax

Parameters

Returns

Type: Microsoft.OData.ModelBuilder.ActionConfiguration action so further configuration can chain.

Exceptions

Examples

Remarks

The host does not wrap GetEdmModel. The vocabulary is referenced the first time this configuration is applied.