Determines if a DataReader has any rows. The purpose of this method is
to virtualize the particular provider. At this time the OleDB and
SqlClient providers are supported.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool HasRows(
IDataReader reader
)
Public Shared Function HasRows (
reader As IDataReader
) As Boolean
Parameters
- reader
- Type: System.DataIDataReader
The reader to check.
Return Value
Type:
BooleanTrue if reader has one or more rows.
See Also