Export (0) Print
Expand All

EntityDataReader.HasRows Property

Gets a value that indicates whether this EntityDataReader contains one or more rows.

Namespace:  System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public override bool HasRows { get; }

Property Value

Type: System.Boolean
true if the EntityDataReader contains one or more rows; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft