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

In This Topic
    AddToBatch Method (C1MagentoDataAdapter)
    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 Function AddToBatch( _
       ByVal command As IDbCommand _
    ) As Integer
    protected int AddToBatch( 
       IDbCommand command
    )

    Parameters

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