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

On this page
    AllowAddFields Property
    On this page
    Gets or sets a value indicating whether, with Sql Engine=true, INSERT and UPDATE statements may write fields that the collection or document does not have; false raises an error. The default value is true.
    Syntax
    'Declaration
     
    Public Property AllowAddFields As Boolean
    public bool AllowAddFields {get; set;}
    Remarks
    Connection string keyword: Allow Add Fields.
    See Also