DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.AdoNet.D365S Namespace / C1D365SDataAdapter Class / AddToBatch Method
The System.Data.IDbCommand to add to the batch.

In This Topic
    AddToBatch Method (C1D365SDataAdapter)
    In This Topic
    Invoked for every row affected based on the current records in DataTable. It got called the same amount of times as the value of UpdateBatchSize.
    Syntax
    'Declaration
     
    Protected Overrides NotOverridable Function AddToBatch( _
       ByVal command As IDbCommand _
    ) As Integer
    protected override int AddToBatch( 
       IDbCommand command
    )

    Parameters

    command
    The System.Data.IDbCommand to add to the batch.
    See Also