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

屬性值

如果 EntityDataReader 包含一個或更多資料列,則為 true,否則為 false

適用於