Breyta

Deila með


EntityDataReader.Read Method

Definition

Advances the reader to the next record in a result set.

public:
 override bool Read();
public override bool Read ();
override this.Read : unit -> bool
Public Overrides Function Read () As Boolean

Returns

true if there are more rows; otherwise, false.

Remarks

The default position of a data reader is before the first record. Therefore, you must call Read to begin accessing data.

Applies to

See also