Skip to main content

SqlDataSourceUIHelper.EditQuery(SqlQuery, UserLookAndFeel, IWin32Window, IDBSchemaProvider, IParameterService, IRepositoryItemsProvider) Method


This overload is obsolete now. Use EditQuery instead.

Invokes the Query Builder to edit the specified query.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v24.1.UI.dll

NuGet Package: DevExpress.DataAccess.UI


[Obsolete("This overload is obsolete now. Use EditQuery(this SqlQuery query, EditQueryContext context) instead.")]
public static bool EditQuery(
    this SqlQuery query,
    UserLookAndFeel lookAndFeel,
    IWin32Window owner,
    IDBSchemaProvider dbSchemaProvider,
    IParameterService parameterService,
    IRepositoryItemsProvider repositoryItemsProvider


Name Type Description
query SqlQuery

A SqlQuery object.

lookAndFeel UserLookAndFeel

A UserLookAndFeel object, specifying the application’s look and feel settings.

owner IWin32Window

An object implementing the IWin32Window interface that is the owner of the current dialog window.

dbSchemaProvider DevExpress.DataAccess.Sql.IDBSchemaProvider

An object implementing the IDBSchemaProvider interface.

parameterService IParameterService

An object implementing the IParameterService interface.

repositoryItemsProvider IRepositoryItemsProvider

An object implementing the IRepositoryItemsProvider interface that provides repository items for editing query parameters.


Type Description

true, if the dialog was finished by clicking the OK button; otherwise, false.


The following image illustrates the Query Builder.


See Also