Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MongoDBQueriesViewModel(MongoDBDataConnection, IList<MongoDBQuery>, IParameterService, IParameterEditorService, Dictionary<String, String[]>) Constructor

In This Article

Initializes a new instance of the MongoDBQueriesViewModel class with specified settings.

Namespace: DevExpress.DataAccess.UI.MongoDB

Assembly: DevExpress.DataAccess.v24.2.dll

NuGet Package: DevExpress.DataAccess

#Declaration

public MongoDBQueriesViewModel(
    MongoDBDataConnection connection,
    IList<MongoDBQuery> queries,
    IParameterService parameterService,
    IParameterEditorService parameterEditorService,
    Dictionary<string, string[]> serverSchema
)

#Parameters

Name Type Description
connection MongoDBDataConnection

An object that manages a MongoDB connection.

queries IList<MongoDBQuery>

A collection of MongoDB queries.

parameterService IParameterService

A service that manages external parameters the MongoDB query references.

parameterEditorService IParameterEditorService

A service that manages parameter types of the MongoDB query.

serverSchema Dictionary<String, String[]>

Contains MongoDB collections grouped by a database.

See Also