DomainClientResult.TotalEntityCount Property
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Gets the total server entity count for the original query without any paging applied to it.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Public ReadOnly Property TotalEntityCount As Integer
Get
'Usage
Dim instance As DomainClientResult
Dim value As Integer
value = instance.TotalEntityCount
public int TotalEntityCount { get; }
public:
property int TotalEntityCount {
int get ();
}
member TotalEntityCount : int
function get TotalEntityCount () : int
Property Value
Type: System.Int32
The total row count for the query, or -1 if total entity counts are not supported on the server.
Remarks
The IncludeTotalCount property of the EntityQuery object must be true to support automatic evaluation of the total server entity count.