Share via


InlineCountQueryOption Class

 

Represents the value of the $inlinecount query option and exposes a way to retrieve the number of entities that satisfy a query.

Namespace:   System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Query.InlineCountQueryOption

Syntax

public class InlineCountQueryOption
public ref class InlineCountQueryOption 
type InlineCountQueryOption = class end
Public Class InlineCountQueryOption

Constructors

Name Description
System_CAPS_pubmethod InlineCountQueryOption(String, ODataQueryContext)

Initializes a new instance of the InlineCountQueryOption class.

Properties

Name Description
System_CAPS_pubproperty Context

Gets the given ODataQueryContext.

System_CAPS_pubproperty RawValue

Gets the raw $inlinecount value.

System_CAPS_pubproperty Value

Gets the value of the $inlinecount in a parsed form.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEntityCount(IQueryable)

Gets the number of entities that satify the given query if the response should include an inline count, or null otherwise.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.OData.Query Namespace

Return to top