Definition
Assembly: Microsoft.OData.Mcp.AspNetCore.dll Namespace: Microsoft.OData.Mcp.AspNetCore.Vocabularies Inheritance: System.ObjectSyntax
Summary
AttachesMicrosoft.OData.Mcp.V1 to an EdmModel and stamps Task annotations.
Methods
EnsureReferenced
Adds the MCP vocabulary as a referenced model and anedmx:Reference Include
when the service model does not already have it.
Syntax
Parameters
Examples
Remarks
FindTerm only sees terms on referenced models.
SetEdmReferences is merged so ModelBuilder’s Core/Capabilities references stay on the model.
StampTask
StampsMicrosoft.OData.Mcp.V1.Task on an action, attaching the vocabulary if needed.