EntityDataReader.HasRows Property

 

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

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

public override bool HasRows { get; }

Property Value

Type: System.Boolean

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