All docs
V21.2
21.2
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v21.2.dll

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