Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of entities that satify the given query if the response should include an inline count, or null otherwise.
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public Nullable<long> GetEntityCount(
IQueryable query
)
public:
Nullable<long long> GetEntityCount(
IQueryable^ query
)
member GetEntityCount :
query:IQueryable -> Nullable<int64>
Public Function GetEntityCount (
query As IQueryable
) As Nullable(Of Long)
Parameters
query
Type: System.Linq.IQueryableThe query to compute the count for.
Return Value
Type: System.Nullable<Int64>
The number of entities that satisfy the specified query if the response should include an inline count, or null otherwise.
See Also
InlineCountQueryOption Class
System.Web.Http.OData.Query Namespace
Return to top