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

◆ SetAdded()

void System.Data.DataRow.SetAdded ( )
inline

Definition at line 1171 of file DataRow.cs.

1172 {
1173 if (RowState == DataRowState.Unchanged)
1174 {
1175 _table.SetOldRecord(this, -1);
1176 return;
1177 }
1178 throw ExceptionBuilder.SetAddedAndModifiedCalledOnnonUnchanged();
1179 }
DataRowState RowState
Definition DataRow.cs:134
readonly DataTable _table
Definition DataRow.cs:12
void SetOldRecord(DataRow row, int proposedRecord)

References System.Data.DataRow._table, System.Data.DataRow.RowState, System.Data.ExceptionBuilder.SetAddedAndModifiedCalledOnnonUnchanged(), and System.Data.DataTable.SetOldRecord().