private void GrowRecordCapacity()
{
RecordCapacity = NewCapacity(_recordCapacity) < NormalizedMinimumCapacity(_minimumCapacity) ?
NormalizedMinimumCapacity(_minimumCapacity) :
NewCapacity(_recordCapacity);
// set up internal map : record --> row
DataRow[] newRows = _table.NewRowArray(_recordCapacity);
if (_rows != null)
{
Array.Copy(_rows, 0, newRows, 0, Math.Min(_lastFreeRecord, _rows.Length));
}
_rows = newRows;
}