SelectResult 类

定义

表示选择结果。Represents the select result. 此类型旨在使用异步模型绑定功能(在 4.6 版中引入)并想要启用自定义分页时使用。This type is designed to be used when you use the async model binding feature, which is introduced in 4.6, and want to enable custom paging.

public ref class SelectResult sealed
public sealed class SelectResult
type SelectResult = class
Public NotInheritable Class SelectResult
继承
SelectResult

构造函数

SelectResult(Int32, IEnumerable)

初始化 SelectResult 类的新实例。Initializes a new instance of the SelectResult class.

属性

Results

获取结果列表。Gets a list of results.

TotalRowCount

获取结果中的总行数。Gets the total number of rows in the result.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于