ResourceSetContext Class
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.
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 |
GenerateFunctionLink(ResourceSetContext, IEdmOperation) |
Generates a function link following the OData URL conventions for the function |