Share via


OperationLinkBuilder.BuildLink Method

Definition

Overloads

BuildLink(ResourceContext)

Builds the operation link for the given resource.

BuildLink(ResourceSetContext)

Builds the operation link for the given feed.

BuildLink(ResourceContext)

Builds the operation link for the given resource.

public virtual Uri BuildLink (Microsoft.AspNet.OData.ResourceContext context);
abstract member BuildLink : Microsoft.AspNet.OData.ResourceContext -> Uri
override this.BuildLink : Microsoft.AspNet.OData.ResourceContext -> Uri
Public Overridable Function BuildLink (context As ResourceContext) As Uri

Parameters

context
ResourceContext

An instance context wrapping the resource instance.

Returns

Uri

The generated link.

Applies to

BuildLink(ResourceSetContext)

Builds the operation link for the given feed.

public virtual Uri BuildLink (Microsoft.AspNet.OData.ResourceSetContext context);
abstract member BuildLink : Microsoft.AspNet.OData.ResourceSetContext -> Uri
override this.BuildLink : Microsoft.AspNet.OData.ResourceSetContext -> Uri
Public Overridable Function BuildLink (context As ResourceSetContext) As Uri

Parameters

context
ResourceSetContext

An feed context wrapping the feed instance.

Returns

Uri

The generated link.

Applies to