Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AddDataTableToArray()

static DataTable[] System.Data.Common.DataAdapter.AddDataTableToArray ( DataTable[] tables,
DataTable newTable )
inlinestaticprivateinherited

Definition at line 731 of file DataAdapter.cs.

732 {
733 for (int i = 0; i < tables.Length; i++)
734 {
735 if (tables[i] == newTable)
736 {
737 return tables;
738 }
739 }
740 DataTable[] array = new DataTable[tables.Length + 1];
741 for (int j = 0; j < tables.Length; j++)
742 {
743 array[j] = tables[j];
744 }
745 array[tables.Length] = newTable;
746 return array;
747 }

References System.array.

Referenced by System.Data.Common.DataAdapter.FillSchemaFromReader().