HasRows Property
Collapse the table of content
Expand the table of content

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:
property bool HasRows {
	virtual bool get() override;
}

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:
© 2016 Microsoft