Share via


EdmModelExtensions.SetOperationLinkBuilder Method

Definition

Sets the OperationLinkBuilder to be used for generating the OData operation link for the given operation.

public static void SetOperationLinkBuilder (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmOperation operation, Microsoft.AspNet.OData.Builder.OperationLinkBuilder operationLinkBuilder);
static member SetOperationLinkBuilder : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmOperation * Microsoft.AspNet.OData.Builder.OperationLinkBuilder -> unit
<Extension()>
Public Sub SetOperationLinkBuilder (model As IEdmModel, operation As IEdmOperation, operationLinkBuilder As OperationLinkBuilder)

Parameters

model
IEdmModel

The IEdmModel containing the entity set.

operation
IEdmOperation

The operation for which the operation link is to be generated.

operationLinkBuilder
OperationLinkBuilder

The OperationLinkBuilder to set.

Applies to