EldorADO.NET Class Library

ObjectContext.GetCount Method (String, 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 String, _
   ParamArray args As Object() _
) As Long
[C#]
public long GetCount(
   string query,
   params object[] args
);

Parameters

query
A string containing the object 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