OperationLinkBuilder.BuildLink 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.
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
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
The generated link.