dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBCommandBuilder Class
Members

On this page
    MongoDBCommandBuilder Class
    On this page
    Automatically generates insert, update, and delete commands for a MongoDBDataAdapter from its select command: JSON commands in the native mode, SQL statements in the SQL engine mode. When the native select command reads whole documents (ReaderType=Document), the insert command has one parameter, p1 of type MongoDBType.Object, which takes the document to insert. When the select command does not return "_id" and ConflictOption is OverwriteChanges, the document to update or delete is found by the values of all its fields.
    Syntax
    'Declaration
     
    Public Class MongoDBCommandBuilder 
       Inherits Devart.Common.DbCommandBuilder
       Implements System.ComponentModel.IComponent, System.IDisposable 
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Data.Common.DbCommandBuilder
                Devart.Common.DbCommandBuilderBase
                   Devart.Common.DbCommandBuilder
                      Devart.Data.MongoDB.MongoDBCommandBuilder

    See Also