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 Overrides ReadOnly Property HasRows As Boolean

Property Value

Type: System.Boolean

true if the EntityDataReader contains one or more rows; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: