MongoDBDataSourceUIHelper.ConfigureConnection<TModel>(MongoDBDataSourceBase, ConfigureMongoDBConnectionContext, Action<IWizardCustomization<TModel>>) Method
In This Article
Invokes the Connection Editor with the specified settings and customization parameters for the MongoDB Data Source.
Namespace: DevExpress.DataAccess.UI.MongoDB
Assembly: DevExpress.DataAccess.v24.2.UI.dll
NuGet Package: DevExpress.DataAccess.UI
#Declaration
public static bool ConfigureConnection<TModel>(
this MongoDBDataSourceBase dataSource,
ConfigureMongoDBConnectionContext context,
Action<IWizardCustomization<TModel>> customizeWizard
)
where TModel : class, IMongoDBDataSourceModel, new()
#Parameters
Name | Type | Description |
---|---|---|
data |
Mongo |
A Mongo |
context | DevExpress. |
An object that contains settings for the editor. |
customize |
Action<IWizard |
A method that customizes the editor. |
#Type Parameters
Name | Description |
---|---|
TModel | A class that implements the IMongo |
#Returns
Type | Description |
---|---|
Boolean | true if a user clicked the Finish button to close the editor; otherwise, false. |
See Also