Share via


LinkGenerationHelpers Class

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

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Builder.LinkGenerationHelpers

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class LinkGenerationHelpers
'Usage
public static class LinkGenerationHelpers
[ExtensionAttribute]
public ref class LinkGenerationHelpers abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type LinkGenerationHelpers =  class end
public final class LinkGenerationHelpers

The LinkGenerationHelpers type exposes the following members.

Methods

  Name Description
Public methodStatic member GenerateActionLink Generates an action link following the OData URL conventions for the action and bound to the entity represented by entityContext.
Public methodStatic member GenerateFeedSelfLink Generates a feed self link following the OData URL conventions for the feed represented by feedContext.
Public methodStatic member GenerateNavigationPropertyLink Generates a navigation link following the OData URL conventions for the entity represented by entityContext and the given navigation property.
Public methodStatic member GenerateSelfLink Generates a self link following the OData URL conventions for the entity represented by entityContext.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.OData.Builder Namespace