Skip to main content

SqlDataSourceUIHelper.EditQuery(SqlQuery, EditQueryContext) Method

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

Declaration

public static bool EditQuery(
    this SqlQuery query,
    EditQueryContext context
)

Parameters

Name Type Description
query SqlQuery

A SqlQuery object.

context EditQueryContext

An EditQueryContext object, specifying the Query Builder settings.

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