Jaa


FunctionImportSegmentTemplate Class

Definition

Represents a template that could match an IEdmFunctionImport.

public class FunctionImportSegmentTemplate : Microsoft.AspNetCore.OData.Routing.Template.ODataSegmentTemplate
type FunctionImportSegmentTemplate = class
    inherit ODataSegmentTemplate
Public Class FunctionImportSegmentTemplate
Inherits ODataSegmentTemplate
Inheritance
FunctionImportSegmentTemplate

Constructors

FunctionImportSegmentTemplate(IDictionary<String,String>, IEdmFunctionImport, IEdmNavigationSource)

Initializes a new instance of the FunctionImportSegmentTemplate class.

FunctionImportSegmentTemplate(IEdmFunctionImport, IEdmNavigationSource)

Initializes a new instance of the FunctionImportSegmentTemplate class.

FunctionImportSegmentTemplate(OperationImportSegment)

Initializes a new instance of the FunctionImportSegmentTemplate class.

Properties

FunctionImport

Gets the wrapped Edm function import.

NavigationSource

Gets the target Navigation source of this segment.

ParameterMappings

Gets the dictionary representing the mappings from the parameter names in the current function segment to the parameter names in route data.

Methods

GetTemplates(ODataRouteOptions)

Gets the templates. It's case-insensitive template. It's used to build the routing template in conventional routing. It's not used in attribute routing. The template string should include the leading "/" if apply.

TryTranslate(ODataTemplateTranslateContext)

Translate the template into a real OData path segment ODataPathSegment

Applies to