Skip to main content

SqlDataSourceUIHelper.ManageQueries<TModel>(SqlDataSource, EditQueryContext, Action<IWizardCustomization<TModel>>) Method

Invokes the Query Builder to manage the specified queries.

Namespace: DevExpress.DataAccess.UI.Sql

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

NuGet Package: DevExpress.DataAccess.UI

Declaration

public static bool ManageQueries<TModel>(
    this SqlDataSource dataSource,
    EditQueryContext context,
    Action<IWizardCustomization<TModel>> customizeWizard
)
    where TModel : class, ISqlDataSourceModel, new()

Parameters

Name Type Description
dataSource SqlDataSource

A SqlDataSource object, specifying the database connection.

context EditQueryContext

An EditQueryContext object, specifying the Query Designer settings.

customizeWizard Action<IWizardCustomization<TModel>>

A Action delegate of an object implementing the IWizardCustomization<TModel> interface.

Type Parameters

Name
TModel

Returns

Type Description
Boolean

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

Remarks

Review the following help topic for more information: Query Builder.

See Also