private int UpdatedRowStatusSkip(BatchCommandInfo[] batchCommands, int commandCount)
{
Debug.Assert(null != batchCommands, "null batchCommands?");
int cumulativeDataRowsAffected = 0;
for (int i = 0; i < commandCount; i++)
{
DataRow row = batchCommands[i]._row;
Debug.Assert(null != row, "null dataRow?");
if (0 != ((DataRowState.Detached | DataRowState.Unchanged) & row.RowState))
{
cumulativeDataRowsAffected++;
}
}
return cumulativeDataRowsAffected;
}