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 Members

A View Model that contains information about a MongoDB query.

Constructors

Name Description
MongoDBQueryViewModel(MongoDBQuery, IParameterService, IParameterEditorService, Dictionary<String, String[]>) Initializes a new instance of the MongoDBQueryViewModel class with specified settings.

Properties

Name Description
Alias Specifies an alias of a MongoDB query.
CollectionName Specifies the name of a MongoDB database collection.
Collections Stores a list of available MongoDB collections.
DatabaseName Specifies the name of a MongoDB database.
FilterString Specifies a filter string for a MongoDB query.
Parameters Specifies a collection of parameters for a MongoDB query.
ParametersViewModel A View Model that contains information about parameters of a MongoDB query.
Query Stores a MongoDB query.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetQuery() Returns a MongoDB query that the View Model stores.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnRenameParameter(String, String) This method is called when the parameter name is changed.
RaiseParametersChanged() Updates the list of parameters.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs when one of the View Model properties changes its value.
See Also