dotConnect for MongoDB Documentation
On this page
    Modifying Data Overview
    On this page

    All data modifications are immediately sent to MongoDB. dotConnect for MongoDB doesn't cache data, so there is no local copy of the data to update.

    dotConnect for MongoDB supports MongoDB transactions on replica sets (MongoDB 4.0 or later) and sharded clusters (MongoDB 4.2 or later). You can use the MongoDBTransaction class or the TransactionScope class to group data modifications into a transaction.

    You can modify data in the same way as with any other ADO.NET provider. For details on how dotConnect for MongoDB executes DML statements, see Execution of DML Statements.