Skip to main content

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

OBSOLETE

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.2.UI.dll

Declaration

[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
)

Parameters

Name Type Description
query SqlQuery

A SqlQuery to be edited.

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 IDBSchemaProvider, providing access to the schema of the SQL data base

Returns

Type Description
Boolean

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

Remarks

The following image illustrates the Query Builder.

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

See Also