EldorADO.NET Class Library

ObjectContext.GetCount Method (ObjectQuery, Object[])

[This is preliminary documentation and subject to change.]

Return the number of rows that would be returned by the equivalent Fill method.

[Visual Basic]
Overloads Public Function GetCount( _
   ByVal query As ObjectQuery, _
   ByVal args As Object() _
) As Long
[C#]
public long GetCount(
   ObjectQuery query,
   object[] args
);

Parameters

query
A ObjectQuery object representing the query.
args
An array of parameters that are passed along with the query.

Return Value

The row count corresponding to the query.

See Also

ObjectContext Class | Eldorado.Object.Disconnected Namespace | ObjectContext.GetCount Overload List