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

◆ DeleteRow()

void System.Data.DataTable.DeleteRow ( DataRow row)
inlinepackageinherited

Definition at line 2711 of file DataTable.cs.

2712 {
2713 if (row._newRecord == -1)
2714 {
2715 throw ExceptionBuilder.RowAlreadyDeleted();
2716 }
2717 SetNewRecord(row, -1, DataRowAction.Delete);
2718 }
void SetNewRecord(DataRow row, int proposedRecord, DataRowAction action=DataRowAction.Change, bool isInMerge=false, bool fireEvent=true, bool suppressEnsurePropertyChanged=false)

References System.Data.ExceptionBuilder.RowAlreadyDeleted(), and System.Data.DataTable.SetNewRecord().

Referenced by System.Data.ForeignKeyConstraint.CascadeDelete(), and System.Data.DataRow.Delete().