Compartilhar via


EdmModelExtensions.SetOperationLinkBuilder Método

Definição

Define o OperationLinkBuilder a ser usado para gerar o link de operação OData para a operação fornecida.

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)

Parâmetros

model
IEdmModel

O IEdmModel que contém o conjunto de entidades.

operation
IEdmOperation

A operação para a qual o link de operação deve ser gerado.

operationLinkBuilder
OperationLinkBuilder

OperationLinkBuilder ao dataset.

Aplica-se a