Muokkaa

Jaa


QueryContext Constructor

Definition

Initializes new instance of the QueryContext class by using the WhereParameters, OrderGroupsByParameters, OrderByParameters, GroupByParameters, SelectParameters, and Arguments properties.

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)

Parameters

whereParameters
IDictionary<String,Object>

The parameters collection that the data source uses to create the Where clause.

orderGroupsByParameters
IDictionary<String,Object>

The parameters collection that the data source uses to create the OrderGroupsBy clause.

orderByParameters
IOrderedDictionary

The parameters collection that the data source uses to create the OrderBy clause.

groupByParameters
IDictionary<String,Object>

The parameters collection that the data source uses to create the GroupBy clause.

selectParameters
IDictionary<String,Object>

The parameters collection that the data source uses to create the Select command.

arguments
DataSourceSelectArguments

The arguments to pass to the QueryContext class.

Applies to