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

◆ AddRange() [1/2]

override void System.Data.DataRelationCollection.DataSetRelationCollection.AddRange ( DataRelation[] relations)
inline

Definition at line 219 of file DataRelationCollection.cs.

220 {
222 {
223 _delayLoadingRelations = relations;
224 }
225 else
226 {
227 if (relations == null)
228 {
229 return;
230 }
231 foreach (DataRelation dataRelation in relations)
232 {
233 if (dataRelation != null)
234 {
235 Add(dataRelation);
236 }
237 }
238 }
239 }

References System.Data.DataRelationCollection.DataSetRelationCollection._dataSet, System.Data.DataRelationCollection.DataSetRelationCollection._delayLoadingRelations, System.Data.DataSet._fInitInProgress, and System.Data.Add.