SqlDataSourceUIHelper.EditQuery<TModel>(SqlQuery, EditQueryContext, Action<IWizardCustomization<TModel>>) Method
Invokes the Query Builder to edit the specified query.
Namespace: DevExpress.DataAccess.UI.Sql
Assembly: DevExpress.DataAccess.v20.2.UI.dll
Declaration
public static bool EditQuery<TModel>(
this SqlQuery query,
EditQueryContext context,
Action<IWizardCustomization<TModel>> customizeWizard
)
where TModel : class, ISqlDataSourceModel, new()
<ExtensionAttribute>
Public Shared Function EditQuery(Of TModel As {Class, ISqlDataSourceModel, New})(
query As SqlQuery,
context As EditQueryContext,
customizeWizard As Action(Of IWizardCustomization(Of TModel))
) As Boolean
Parameters
Name | Type | Description |
---|---|---|
query | SqlQuery | A SqlQuery object. |
context | EditQueryContext | An EditQueryContext object, specifying the Query Builder settings. |
customizeWizard | Action<IWizardCustomization<TModel>> | A Action delegate of an object implementing the IWizardCustomization<TModel> interface. |
Type Parameters
Name |
---|
TModel |
Returns
Type | Description |
---|---|
Boolean | true, if the dialog was finished by clicking the Finish button; otherwise, false. |
Remarks
The following image illustrates the Query Builder.
See Also
Feedback