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
model
Type: Microsoft.Data.Edm.IEdmModelThe IEdmModel containing the entity set.
action
Type: Microsoft.Data.Edm.IEdmFunctionImportThe action for which the action link is to be generated.
actionLinkBuilder
Type: System.Web.Http.OData.Builder.ActionLinkBuilderThe ActionLinkBuilder to set.
See Also
EdmModelExtensions Class
System.Web.Http.OData Namespace
Return to top