Share via


ResourceSetContext Class

Definition

Contains context information about the resource set currently being serialized.

public class ResourceSetContext
type ResourceSetContext = class
Public Class ResourceSetContext
Inheritance
ResourceSetContext

Constructors

ResourceSetContext()

Properties

EdmModel

Gets or sets the IEdmModel to which this instance belongs.

EntitySetBase

Gets the IEdmEntitySetBase this instance belongs to.

Request

Gets or sets the HTTP request that caused this instance to be generated.

RequestContext

Gets or sets the request context.

ResourceSetInstance

Gets the value of this feed instance.

Url

Gets or sets the Microsoft.AspNet.OData.Interfaces.IWebApiUrlHelper to be used for generating links while serializing this feed instance.

Extension Methods

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(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.

Applies to