SqlDataSourceUIHelper.EditQuery(SqlQuery, EditQueryContext) Method

Invokes the Query Builder to edit the specified query.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v20.2.UI.dll

Declaration

public static bool EditQuery(
    this SqlQuery query,
    EditQueryContext context
)
<ExtensionAttribute>
Public Shared Function EditQuery(
    query As SqlQuery,
    context As EditQueryContext
) As Boolean

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