dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBConnectionStringBuilder Class / Transactions Property

On this page
    Transactions Property
    On this page
    Gets or sets how transactions work on a standalone server, which does not support them (see MongoDBTransactionMode): IfSupported runs commands immediately without atomicity; Required raises an error. The default value is MongoDBTransactionMode.IfSupported.
    Syntax
    'Declaration
     
    Public Property Transactions As MongoDBTransactionMode
    public MongoDBTransactionMode Transactions {get; set;}
    Remarks
    Connection string keyword: Transactions.
    See Also