Skip to main content
A newer version of this page is available. .

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

NuGet Package: DevExpress.DataAccess.UI

Declaration

public static bool EditQuery<TModel>(
    this SqlQuery query,
    EditQueryContext context,
    Action<IWizardCustomization<TModel>> customizeWizard
)
    where TModel : class, ISqlDataSourceModel, new()

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.

data-access-sql-data-source-ui-helper-query-designer

See Also