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

In This Topic
    AddToBatch Method (C1SalesforceDataAdapter)
    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