public void AddRange(DataTable[] tables)
{
long logScopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTableCollection.AddRange|API> {0}", ObjectID);
try
{
if (_dataSet._fInitInProgress)
{
_delayedAddRangeTables = tables;
return;
}
if (tables != null)
{
foreach (DataTable table in tables)
{
if (table != null)
{
Add(table);
}
}
}
}
finally
{
DataCommonEventSource.Log.ExitScope(logScopeId);
}
}