Share via


LinkGenerationHelpers Class

 

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

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

Inheritance Hierarchy

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

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class LinkGenerationHelpers
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class LinkGenerationHelpers abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type LinkGenerationHelpers = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class LinkGenerationHelpers

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GenerateActionLink(EntityInstanceContext, IEdmFunctionBase)

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

System_CAPS_pubmethodSystem_CAPS_static GenerateFeedSelfLink(FeedContext)

Generates a feed self link following the OData URL conventions for the feed represented by feedContext.

System_CAPS_pubmethodSystem_CAPS_static GenerateNavigationPropertyLink(EntityInstanceContext, IEdmNavigationProperty, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_static GenerateSelfLink(EntityInstanceContext, Boolean)

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

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

System.Web.Http.OData.Builder Namespace

Return to top