QueryContext 建構函式

定義

使用 QueryContextWhereParametersOrderGroupsByParametersOrderByParametersGroupByParametersSelectParameters 屬性,初始化 Arguments 類别的新執行個體。

public:
 QueryContext(System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ whereParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ orderGroupsByParameters, System::Collections::Specialized::IOrderedDictionary ^ orderByParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ groupByParameters, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ selectParameters, System::Web::UI::DataSourceSelectArguments ^ arguments);
public QueryContext (System.Collections.Generic.IDictionary<string,object> whereParameters, System.Collections.Generic.IDictionary<string,object> orderGroupsByParameters, System.Collections.Specialized.IOrderedDictionary orderByParameters, System.Collections.Generic.IDictionary<string,object> groupByParameters, System.Collections.Generic.IDictionary<string,object> selectParameters, System.Web.UI.DataSourceSelectArguments arguments);
new System.Web.UI.WebControls.QueryContext : System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Specialized.IOrderedDictionary * System.Collections.Generic.IDictionary<string, obj> * System.Collections.Generic.IDictionary<string, obj> * System.Web.UI.DataSourceSelectArguments -> System.Web.UI.WebControls.QueryContext
Public Sub New (whereParameters As IDictionary(Of String, Object), orderGroupsByParameters As IDictionary(Of String, Object), orderByParameters As IOrderedDictionary, groupByParameters As IDictionary(Of String, Object), selectParameters As IDictionary(Of String, Object), arguments As DataSourceSelectArguments)

參數

whereParameters
IDictionary<String,Object>

參數集合,供資料來源用於建立 Where 子句。

orderGroupsByParameters
IDictionary<String,Object>

參數集合,供資料來源用於建立 OrderGroupsBy 子句。

orderByParameters
IOrderedDictionary

參數集合,供資料來源用於建立 OrderBy 子句。

groupByParameters
IDictionary<String,Object>

參數集合,供資料來源用於建立 GroupBy 子句。

selectParameters
IDictionary<String,Object>

參數集合,供資料來源用於建立 Select 命令。

arguments
DataSourceSelectArguments

要傳遞到 QueryContext 類别的引數。

適用於