Skip to main content
All docs
V23.2

MongoDBQueryViewModel(MongoDBQuery, IParameterService, IParameterEditorService, Dictionary<String, String[]>) Constructor

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

Namespace: DevExpress.DataAccess.UI.MongoDB

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public MongoDBQueryViewModel(
    MongoDBQuery query,
    IParameterService parameterService,
    IParameterEditorService parameterEditorService,
    Dictionary<string, string[]> serverSchema
)

Parameters

Name Type Description
query MongoDBQuery

A MongoDB query.

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