SqlDataSourceUIHelper.EditQuery(SqlQuery, UserLookAndFeel, IRepositoryItemsProvider) Method

Obsolete. Invokes the Query Builder to edit the specified query.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v20.1.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,
    IRepositoryItemsProvider repositoryItemsProvider
)
<Obsolete("This overload is obsolete now. Use EditQuery(this SqlQuery query, EditQueryContext context) instead.")>
<ExtensionAttribute>
Public Shared Function EditQuery(
    query As SqlQuery,
    lookAndFeel As UserLookAndFeel,
    repositoryItemsProvider As IRepositoryItemsProvider
) As Boolean

Parameters

Name Type Description
query SqlQuery

A SqlQuery to be edited.

lookAndFeel UserLookAndFeel

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

repositoryItemsProvider IRepositoryItemsProvider

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

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