Skip to main content
All docs
V24.1

MongoDBDataSourceUIHelper.ManageQueries<TModel>(MongoDBDataSourceBase, ManageQueriesContext, Action<IWizardCustomization<TModel>>) Method

Invokes the Manage Queries dialog with the specified settings and customization parameters for the MongoDB Data Source.

Namespace: DevExpress.DataAccess.UI.MongoDB

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

NuGet Package: DevExpress.DataAccess.UI

Declaration

public static bool ManageQueries<TModel>(
    this MongoDBDataSourceBase dataSource,
    ManageQueriesContext context,
    Action<IWizardCustomization<TModel>> customizeWizard
)
    where TModel : class, IMongoDBDataSourceModel, new()

Parameters

Name Type Description
dataSource MongoDBDataSourceBase

A MongoDB data source.

context ManageQueriesContext

An object that contains settings for the dialog.

customizeWizard Action<IWizardCustomization<TModel>>

A method that customizes the dialog.

Type Parameters

Name Description
TModel

A class that implements the IMongoDBDataSourceModel interface.

Returns

Type Description
Boolean

true if a user clicked the OK button to close the dialog; otherwise, false.

See Also