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

◆ SetModified()

void System.Data.DataRow.SetModified ( )
inline

Definition at line 1181 of file DataRow.cs.

1182 {
1183 if (RowState == DataRowState.Unchanged)
1184 {
1186 if (_tempRecord != -1)
1187 {
1189 }
1190 return;
1191 }
1192 throw ExceptionBuilder.SetAddedAndModifiedCalledOnnonUnchanged();
1193 }
DataRowState RowState
Definition DataRow.cs:134
readonly DataTable _table
Definition DataRow.cs:12
void SetNewRecord(DataRow row, int proposedRecord, DataRowAction action=DataRowAction.Change, bool isInMerge=false, bool fireEvent=true, bool suppressEnsurePropertyChanged=false)

References System.Data.DataRow._newRecord, System.Data.DataRow._table, System.Data.DataRow._tempRecord, System.Xml.Dictionary, System.Data.DataTable.NewRecord(), System.Data.DataRow.RowState, System.Data.ExceptionBuilder.SetAddedAndModifiedCalledOnnonUnchanged(), and System.Data.DataTable.SetNewRecord().