13 references to Delete
System.Data (13)
fx\src\data\System\Data\DataTable.cs (8)
2010
Debug.Assert(action == DataRowAction.
Delete
, "Unexpected SetNewRecord action in merge function.");
2056
SetMergeRecords(targetRow, newRecord, oldRecord, (newRecord == -1) ? DataRowAction.
Delete
: DataRowAction.Change);
2060
SetMergeRecords(targetRow, newRecord, oldRecord, (newRecord == -1) ? DataRowAction.
Delete
: DataRowAction.Change);
2782
SetNewRecord(row, -1, DataRowAction.
Delete
, false, true);
3712
else if (DataRowAction.
Delete
== eAction && eRow.newRecord == -1 && (IsTypedDataTable || (null != onRowDeletedDelegate))) {
3743
else if (DataRowAction.
Delete
== eAction && eRow.newRecord != -1 && (IsTypedDataTable || (null != onRowDeletingDelegate))) {
3905
if ((action == DataRowAction.
Delete
|| action == DataRowAction.Change)
6204
else if ((action == DataRowAction.
Delete
|| (action==DataRowAction.Rollback && row.oldRecord==-1 && row.newRecord==-1)) && dependentColumns != null) {
fx\src\data\System\Data\DataTableReader.cs (1)
815
case DataRowAction.
Delete
: // delete
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
479
else if (action == DataRowAction.
Delete
) {
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
1801
case DataRowAction.
Delete
:
1846
if ( args.Action == DataRowAction.
Delete
&& row.Element != null ) {
1871
case DataRowAction.
Delete
: