EntityDataReader.HasRows 屬性

定義

會得到一個值,表示該資料 EntityDataReader 是否包含一列或多列。

public:
 virtual property bool HasRows { bool get(); };
public override bool HasRows { get; }
member this.HasRows : bool
Public Overrides ReadOnly Property HasRows As Boolean

屬性值

true若 包含EntityDataReader一列或多列;否則 。 false

適用於