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

适用于