Share via


LinkGenerationHelpers Class

Definition

Contains helper methods for generating OData links that follow OData URL conventions.

public static class LinkGenerationHelpers
type LinkGenerationHelpers = class
Public Module LinkGenerationHelpers
Inheritance
LinkGenerationHelpers

Methods

GenerateActionLink(ResourceContext, IEdmOperation)

Generates an action link following the OData URL conventions for the action action and bound to the entity represented by resourceContext.

GenerateActionLink(ResourceSetContext, IEdmOperation)

Generates an action link following the OData URL conventions for the action action and bound to the collection of entity represented by resourceSetContext.

GenerateFunctionLink(ResourceContext, IEdmOperation)

Generates an function link following the OData URL conventions for the function function and bound to the entity represented by resourceContext.

GenerateFunctionLink(ResourceSetContext, IEdmOperation)

Generates a function link following the OData URL conventions for the function function and bound to the collection of entity represented by resourceSetContext.

GenerateNavigationPropertyLink(ResourceContext, IEdmNavigationProperty, Boolean)

Generates a navigation link following the OData URL conventions for the entity represented by resourceContext and the given navigation property.

GenerateSelfLink(ResourceContext, Boolean)

Generates a self link following the OData URL conventions for the entity represented by resourceContext.

Applies to