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

◆ SetNestedParentRegion() [2/2]

void System.Xml.XmlDataDocument.SetNestedParentRegion ( XmlBoundElement childRowElem,
XmlBoundElement parentRowElem )
inlineprivate

Definition at line 2312 of file XmlDataDocument.cs.

2313 {
2314 DataRow row = childRowElem.Row;
2315 if (parentRowElem == null)
2316 {
2317 SetNestedParentRow(row, null);
2318 return;
2319 }
2321 DataRelation[] nestedParentRelations = row.Table.NestedParentRelations;
2322 if (nestedParentRelations.Length != 0 && nestedParentRelations[0].ParentTable == row2.Table)
2323 {
2325 }
2326 else
2327 {
2328 SetNestedParentRow(row, null);
2329 }
2330 }
static void SetNestedParentRow(DataRow childRow, DataRow parentRow)

References System.Xml.XmlDataDocument.SetNestedParentRow().