13 references to Delete
System.Data.Common (13)
System\Data\DataTable.cs (8)
2163
Debug.Assert(action == DataRowAction.
Delete
, "Unexpected SetNewRecord action in merge function.");
2218
SetMergeRecords(targetRow, newRecord, oldRecord, (newRecord == -1) ? DataRowAction.
Delete
: DataRowAction.Change);
2224
SetMergeRecords(targetRow, newRecord, oldRecord, (newRecord == -1) ? DataRowAction.
Delete
: DataRowAction.Change);
3027
SetNewRecord(row, -1, DataRowAction.
Delete
, false, true);
4122
else if (DataRowAction.
Delete
== eAction && eRow._newRecord == -1 && (IsTypedDataTable || (null != _onRowDeletedDelegate)))
4155
else if (DataRowAction.
Delete
== eAction && eRow._newRecord != -1 && (IsTypedDataTable || (null != _onRowDeletingDelegate)))
4351
if ((action == DataRowAction.
Delete
|| action == DataRowAction.Change) &&
7010
else if ((action == DataRowAction.
Delete
|| (action == DataRowAction.Rollback && row._oldRecord == -1 && row._newRecord == -1)) && _dependentColumns != null)
System\Data\DataTableReader.cs (1)
958
case DataRowAction.
Delete
: // delete
System\Data\ForeignKeyConstraint.cs (1)
537
else if (action == DataRowAction.
Delete
)
System\Xml\XmlDataDocument.cs (3)
2006
case DataRowAction.
Delete
:
2054
if (args.Action == DataRowAction.
Delete
&& row.Element != null)
2083
case DataRowAction.
Delete
: