Table of Contents

Class FeedContext

Namespace
System.Web.Http.OData
Assembly
System.Web.Http.OData.dll

Contains context information about the feed currently being serialized.

public class FeedContext
Inheritance
FeedContext
Inherited Members

Constructors

FeedContext()

public FeedContext()

Properties

EntitySet

Gets the Microsoft.Data.Edm.IEdmEntitySet this instance belongs to.

public IEdmEntitySet EntitySet { get; set; }

Property Value

IEdmEntitySet

FeedInstance

Gets the value of this feed instance.

public object FeedInstance { get; set; }

Property Value

object

Request

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

public HttpRequestMessage Request { get; set; }

Property Value

HttpRequestMessage

RequestContext

Gets or sets the request context.

public HttpRequestContext RequestContext { get; set; }

Property Value

HttpRequestContext

Url

Gets or sets the System.Web.Http.Routing.UrlHelper to be used for generating links while serializing this feed instance.

public UrlHelper Url { get; set; }

Property Value

UrlHelper