dotConnect for DB2 Documentation
In This Topic
    DML Options
    In This Topic

    To increase a configurability of dotConnect for DB2 as Entity Framework provider and provide more flexibility in behavior, we have added a number of DML options that influence the INSERT/UPDATE/DELETE commands and stored procedure calls.

    Currently this feature is not yet supported for Entity Framework Core. It is supported only for Entity Framework v1 - v6.

    Except for the batch updates settings, which are described in the Batch Updates topic, the list of DML options includes:

    These options can be set either in code as the properties of the EntityProviderConfig.DmlOptions object or in the project config file as the attributes of the DmlOptions element of the Devart.Data.DB2.Entity tag.

    The example code that enables the ReuseParameters option:

    DB2EntityProviderConfig config = DB2EntityProviderConfig.Instance;  
    config.DmlOptions.ReuseParameters = true;  
    
    
    Dim Config As DB2EntityProviderConfig
    Config = DB2EntityProviderConfig.Instance
    Config.DmlOptions.ReuseParameters = True