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

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