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

◆ CreateRelationList()

void System.Data.DataTable.CreateRelationList ( List< DataTable > tableList,
List< DataRelation > relationList )
inlineprivateinherited

Definition at line 5841 of file DataTable.cs.

5842 {
5843 foreach (DataTable table in tableList)
5844 {
5845 foreach (DataRelation childRelation in table.ChildRelations)
5846 {
5847 if (tableList.Contains(childRelation.ChildTable) && tableList.Contains(childRelation.ParentTable))
5848 {
5850 }
5851 }
5852 }
5853 }
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Data.DataTable.ChildRelations, and System.Collections.Generic.Dictionary< TKey, TValue >.Contains().

Referenced by System.Data.DataTable.ReadXmlSchema().