Jaa


TopQueryOption(String, ODataQueryContext, ODataQueryOptionParser) Constructor

Definition

Initialize a new instance of TopQueryOption based on the raw $top value and an EdmModel from ODataQueryContext.

public TopQueryOption (string rawValue, Microsoft.AspNet.OData.ODataQueryContext context, Microsoft.OData.UriParser.ODataQueryOptionParser queryOptionParser);
new Microsoft.AspNet.OData.Query.TopQueryOption : string * Microsoft.AspNet.OData.ODataQueryContext * Microsoft.OData.UriParser.ODataQueryOptionParser -> Microsoft.AspNet.OData.Query.TopQueryOption
Public Sub New (rawValue As String, context As ODataQueryContext, queryOptionParser As ODataQueryOptionParser)

Parameters

rawValue
String

The raw value for $top query. It can be null or empty.

context
ODataQueryContext

The ODataQueryContext which contains the IEdmModel and some type information

queryOptionParser
ODataQueryOptionParser

The ODataQueryOptionParser which is used to parse the query option.

Applies to