EdmModelExtensions.GetOperationLinkBuilder(IEdmModel, IEdmOperation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the OperationLinkBuilder to be used while generating operation links for the given action.
public static Microsoft.AspNet.OData.Builder.OperationLinkBuilder GetOperationLinkBuilder (this Microsoft.OData.Edm.IEdmModel model, Microsoft.OData.Edm.IEdmOperation operation);
static member GetOperationLinkBuilder : Microsoft.OData.Edm.IEdmModel * Microsoft.OData.Edm.IEdmOperation -> Microsoft.AspNet.OData.Builder.OperationLinkBuilder
<Extension()>
Public Function GetOperationLinkBuilder (model As IEdmModel, operation As IEdmOperation) As OperationLinkBuilder
Parameters
- operation
- IEdmOperation
The operation for which the link builder is needed.
Returns
The OperationLinkBuilder for the given operation if one is set; otherwise, a new OperationLinkBuilder that generates operation links following OData URL conventions.