CountQueryOption.GetEntityCount(IQueryable) Method
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.
Gets the number of entities that satisfy the given query if the response should include a count query option, or null
otherwise.
public long? GetEntityCount (System.Linq.IQueryable query);
member this.GetEntityCount : System.Linq.IQueryable -> Nullable<int64>
Public Function GetEntityCount (query As IQueryable) As Nullable(Of Long)
Parameters
- query
- IQueryable
The query to compute the count for.
Returns
The number of entities that satisfy the specified query if the response should include a count query option, or null
otherwise.