Skip to main content
All docs
V24.1

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, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. 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