QueryContext 類別

定義

表示用於查詢資料來源的參數清單。Represents a list of parameters that are used to query a data source.

public ref class QueryContext
public class QueryContext
type QueryContext = class
Public Class QueryContext
繼承
QueryContext

建構函式

QueryContext(IDictionary<String,Object>, IDictionary<String,Object>, IOrderedDictionary, IDictionary<String,Object>, IDictionary<String,Object>, DataSourceSelectArguments)

使用 QueryContextWhereParametersOrderGroupsByParametersOrderByParametersGroupByParametersSelectParameters 屬性,初始化 Arguments 類别的新執行個體。Initializes new instance of the QueryContext class by using the WhereParameters, OrderGroupsByParameters, OrderByParameters, GroupByParameters, SelectParameters, and Arguments properties.

屬性

Arguments

取得或設定要傳遞到 QueryContext 類別的引數。Gets or sets the arguments to pass to the QueryContext class.

GroupByParameters

取得或設定參數集合,這些參數指定用於對擷取的資料進行分組的屬性。Gets or sets a collection of parameters that specify which properties are used to group the retrieved data.

OrderByParameters

取得或設定參數集合,這些參數指定用於對擷取的資料進行排序的欄位。Gets or sets a collection of parameters that specify which fields are used to order the retrieved data.

OrderGroupsByParameters

取得或設定參數集合,這些參數指定用於對分組的資料進行排序的欄位。Gets or set a collection of parameters that specify fields that are used to order grouped data.

SelectParameters

取得或設定參數集合,這些參數指定屬性以及所擷取資料中包含的計算值。Gets or sets a collection of parameters that specify the properties and calculated values that are included in the retrieved data.

WhereParameters

取得或設定參數集合,這些參數指定資料錄在併入至擷取的資料中之前,必須為 true 的條件。Gets or sets a collection of parameters that specify the conditions that must be true for a record to be included in the retrieved data.

方法

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)

適用於