Skip to main content
All docs
V25.1
  • MongoDBSchemaNode Members

    Defines a node and its hierarchy in the MongoDBQuery‘s schema.

    Constructors

    Name Description
    MongoDBSchemaNode() Initializes a new instance of the MongoDBSchemaNode class.
    MongoDBSchemaNode(String, Nullable<Boolean>, MongoDBNodeType, String) Initializes a new instance of the MongoDBSchemaNode class with specified settings.
    MongoDBSchemaNode(String, Nullable<Boolean>, MongoDBNodeType, Type, String) Initializes a new instance of the MongoDBSchemaNode class with specified settings.
    MongoDBSchemaNode(String, Nullable<Boolean>, MongoDBNodeType, Type) Initializes a new instance of the MongoDBSchemaNode class with specified settings.
    MongoDBSchemaNode(String, Nullable<Boolean>, MongoDBNodeType) Initializes a new instance of the MongoDBSchemaNode class with specified settings.
    MongoDBSchemaNode(String, Nullable<Boolean>, String) Initializes a new instance of the MongoDBSchemaNode class with specified settings.
    MongoDBSchemaNode(String, Nullable<Boolean>) Initializes a new instance of the MongoDBSchemaNode class with specified settings.

    Properties

    Name Description
    BsonElement Specifies the BsonElement name used for deserialization.
    Children Provides access to a collection of the node’s child nodes.
    DisplayName Gets or sets the data source node’s display name.
    Name Specifies the name of the data source field that the MongoDBSchemaNode object defines.
    Nodes Returns a collection of nodes.
    NodeType Gets or sets the type of a node that the MongoDBSchemaNode object defines.
    Parent Returns the node’s parent node. Returns null (Nothing in Visual Basic) for the root node.
    Selected Gets or sets whether to include the MongoDB field (which the MongoDBSchemaNode defines) to the MongoDBDataSource‘s data schema.
    Type Gets or sets the type of data stored in the data source field that the MongoDBSchemaNode object defines.

    Methods

    Name Description
    AbandonChildren() Removes all child nodes from the node.
    AddChildren(MongoDBSchemaNode[]) Adds child nodes to the node.
    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.
    ForEach(Action<MongoDBSchemaNode>) Executes the specified action on each child node of the node.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetParents() Returns a collection of parent nodes up to the schema’s root level.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    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 the MongoDBSchemaNode object’s property value changes.
    See Also