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

◆ SetParentRowToDBNull() [2/2]

void System.Data.DataRow.SetParentRowToDBNull ( DataRelation relation)
inlinepackage

Definition at line 1162 of file DataRow.cs.

1163 {
1164 if (relation.ChildKey.Table != _table)
1165 {
1166 throw ExceptionBuilder.SetParentRowTableMismatch(relation.ChildKey.Table.TableName, _table.TableName);
1167 }
1168 SetKeyValues(keyValues: new object[1] { DBNull.Value }, key: relation.ChildKey);
1169 }
void SetKeyValues(DataKey key, object[] keyValues)
Definition DataRow.cs:1064
readonly DataTable _table
Definition DataRow.cs:12

References System.Data.DataRow._table, System.Xml.Dictionary, System.key, System.Data.DataRow.SetKeyValues(), System.Data.ExceptionBuilder.SetParentRowTableMismatch(), and System.Data.DataTable.TableName.