Definition
Assembly: Microsoft.OData.Mcp.AspNetCore.dll Namespace: Microsoft.OData.Mcp.AspNetCore.RoutingSyntax
Summary
Defines a contract for applying MCP conventions to OData routes.Methods
ApplyConvention Abstract
Applies MCP conventions to the endpoint route builder.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
endpointRouteBuilder | Microsoft.AspNetCore.Routing.IEndpointRouteBuilder | The endpoint route builder. |
routePrefix | string | The OData route prefix. |
routeName | string | The OData route name. |