QueryContext Konstruktor
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar den nya instansen QueryContext av klassen med hjälp WhereParametersav egenskaperna , OrderGroupsByParameters, OrderByParameters, GroupByParameters, SelectParametersoch 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)
Parametrar
- whereParameters
- IDictionary<String,Object>
Den parametersamling som datakällan använder för att skapa Where -satsen.
- orderGroupsByParameters
- IDictionary<String,Object>
Den parametersamling som datakällan använder för att skapa OrderGroupsBy -satsen.
- orderByParameters
- IOrderedDictionary
Den parametersamling som datakällan använder för att skapa OrderBy -satsen.
- groupByParameters
- IDictionary<String,Object>
Den parametersamling som datakällan använder för att skapa GroupBy -satsen.
- selectParameters
- IDictionary<String,Object>
Den parametersamling som datakällan använder för att skapa Select kommandot.
- arguments
- DataSourceSelectArguments
Argumenten som ska skickas QueryContext till klassen.