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

◆ GetNestedParentRow()

DataRow System.Data.DataRow.GetNestedParentRow ( DataRowVersion version)
inlinepackage

Definition at line 746 of file DataRow.cs.

747 {
749 DataRelation[] array = nestedParentRelations;
750 foreach (DataRelation dataRelation in array)
751 {
752 if (dataRelation != null)
753 {
754 if (dataRelation.ParentTable == _table)
755 {
757 }
759 if (parentRow != null)
760 {
761 return parentRow;
762 }
763 }
764 }
765 return null;
766 }
void CheckForLoops(DataRelation rel)
Definition DataRow.cs:423
DataRow? GetParentRow(string? relationName)
Definition DataRow.cs:714
readonly DataTable _table
Definition DataRow.cs:12
DataRow(DataRowBuilder builder)
Definition DataRow.cs:404
DataRelation[] NestedParentRelations
Definition DataTable.cs:586

References System.Data.DataRow._table, System.array, System.Data.DataRow.CheckForLoops(), System.Xml.Dictionary, System.Data.DataRow.GetParentRow(), and System.Data.DataTable.NestedParentRelations.

Referenced by System.Data.NewDiffgramGen.GenerateRow().