Compartilhar via


EdmModelExtensions.SetActionLinkBuilder Method (IEdmModel, IEdmFunctionImport, ActionLinkBuilder)

 

Sets the ActionLinkBuilder to be used for generating the OData action link for the given action.

Namespace:   System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public static void SetActionLinkBuilder(
    this IEdmModel model,
    IEdmFunctionImport action,
    ActionLinkBuilder actionLinkBuilder
)
public:
[ExtensionAttribute]
static void SetActionLinkBuilder(
    IEdmModel^ model,
    IEdmFunctionImport^ action,
    ActionLinkBuilder^ actionLinkBuilder
)
static member SetActionLinkBuilder : 
        model:IEdmModel *
        action:IEdmFunctionImport *
        actionLinkBuilder:ActionLinkBuilder -> unit
<ExtensionAttribute>
Public Shared Sub SetActionLinkBuilder (
    model As IEdmModel,
    action As IEdmFunctionImport,
    actionLinkBuilder As ActionLinkBuilder
)

Parameters

See Also

EdmModelExtensions Class
System.Web.Http.OData Namespace

Return to top