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

◆ AddRange()

void System.Data.DataTableCollection.AddRange ( DataTable??[] tables)
inline

Definition at line 183 of file DataTableCollection.cs.

184 {
185 long scopeId = DataCommonEventSource.Log.EnterScope("<ds.DataTableCollection.AddRange|API> {0}", ObjectID);
186 try
187 {
189 {
191 }
192 else
193 {
194 if (tables == null)
195 {
196 return;
197 }
198 foreach (DataTable dataTable in tables)
199 {
200 if (dataTable != null)
201 {
202 Add(dataTable);
203 }
204 }
205 }
206 }
207 finally
208 {
209 DataCommonEventSource.Log.ExitScope(scopeId);
210 }
211 }

References System.Data.DataTableCollection._dataSet, System.Data.DataTableCollection._delayedAddRangeTables, System.Data.DataSet._fInitInProgress, System.Data.DataTableCollection.Add(), System.Data.DataCommonEventSource.Log, and System.Data.DataTableCollection.ObjectID.