Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the ActionLinkBuilder to be used while generating action links for the given action.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public static ActionLinkBuilder GetActionLinkBuilder(
this IEdmModel model,
IEdmFunctionImport action
)
public:
[ExtensionAttribute]
static ActionLinkBuilder^ GetActionLinkBuilder(
IEdmModel^ model,
IEdmFunctionImport^ action
)
static member GetActionLinkBuilder :
model:IEdmModel *
action:IEdmFunctionImport -> ActionLinkBuilder
<ExtensionAttribute>
Public Shared Function GetActionLinkBuilder (
model As IEdmModel,
action As IEdmFunctionImport
) As ActionLinkBuilder
Parameters
model
Type: Microsoft.Data.Edm.IEdmModelThe IEdmModel containing the action.
action
Type: Microsoft.Data.Edm.IEdmFunctionImportThe action for which the link builder is needed.
Return Value
Type: System.Web.Http.OData.Builder.ActionLinkBuilder
The ActionLinkBuilder for the given action if one is set; otherwise, a new ActionLinkBuilder that generates action links following OData URL conventions.
See Also
EdmModelExtensions Class
System.Web.Http.OData Namespace
Return to top