63 references to Deleted
System.Data.Common (63)
System\Data\Common\AdapterUtil.Common.cs (4)
119
case DataRowState.
Deleted
:
709
const DataRowState rowStates = DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified;
721
case DataRowState.
Deleted
:
746
case DataRowState.
Deleted
:
System\Data\Common\DbDataAdapter.cs (2)
1029
case DataRowState.
Deleted
:
1641
if (0 != ((DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified) & row.RowState))
System\Data\DataColumn.cs (1)
1425
if (dr.RowState == DataRowState.
Deleted
)
System\Data\DataRow.cs (4)
166
return DataRowState.
Deleted
; // 3
545
if (RowState != DataRowState.Detached && RowState != DataRowState.
Deleted
)
1191
if (RowState != DataRowState.
Deleted
)
1208
if (RowState != DataRowState.
Deleted
)
System\Data\DataRowCollection.cs (1)
184
if ((row.RowState != DataRowState.
Deleted
) && (row.RowState != DataRowState.Detached))
System\Data\DataRowComparer.cs (3)
150
if (leftRow.RowState == DataRowState.
Deleted
|| rightRow.RowState == DataRowState.
Deleted
)
180
if (row.RowState == DataRowState.
Deleted
)
System\Data\DataSet.cs (7)
1299
GetChanges(DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified);
1332
if (0 != (rowStates & ~(DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified | DataRowState.Unchanged)))
1401
DataRowState.
Deleted
== rowState ||
1411
if (DataRowState.
Deleted
!= rowState)
1437
if (DataRowState.
Deleted
!= relatedRow.RowState)
1535
public bool HasChanges() => HasChanges(DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified);
1546
const DataRowState allRowStates = DataRowState.Detached | DataRowState.Unchanged | DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified;
System\Data\DataSetUtil.cs (1)
61
case DataRowState.
Deleted
:
System\Data\DataTable.cs (12)
719
case DataRowState.
Deleted
:
834
case DataRowState.
Deleted
:
888
return DataRowState.
Deleted
;
4704
if (row.RowState == DataRowState.
Deleted
)
5057
if (loadOption != LoadOption.Upsert || dataRow.RowState != DataRowState.
Deleted
)
5164
case DataRowState.
Deleted
:
5253
if (dataRow.RowState == DataRowState.
Deleted
)
7171
if (dr.RowState == DataRowState.
Deleted
)
7189
if (row.RowState == DataRowState.
Deleted
)
7227
if (cachedRow != null && ((cachedRow.RowState != DataRowState.
Deleted
) && (version != DataRowVersion.Original || cachedRow._oldRecord != -1)))
7259
if (parentRow != null && ((parentRow.RowState != DataRowState.
Deleted
) && (version != DataRowVersion.Original || parentRow._oldRecord != -1)))
7291
if (childRow != null && ((childRow.RowState != DataRowState.
Deleted
) && (version != DataRowVersion.Original || childRow._oldRecord != -1)))
System\Data\DataTableExtensions.cs (1)
169
case DataRowState.
Deleted
:
System\Data\DataTableReader.cs (4)
192
while (_currentDataRow.RowState == DataRowState.
Deleted
)
249
if ((_currentDataRow == null) || (_currentDataRow.RowState == DataRowState.
Deleted
))
273
if ((_currentDataRow == null) || (_currentDataRow.RowState == DataRowState.
Deleted
))
895
if ((_currentDataRow.RowState == DataRowState.
Deleted
) || (_currentDataRow.RowState == DataRowState.Detached) || _currentRowRemoved)
System\Data\DataViewRowState.cs (1)
19
Deleted = DataRowState.
Deleted
,
System\Data\Filter\AggregateNode.cs (1)
201
if (rows[i].RowState == DataRowState.
Deleted
)
System\Data\Filter\DataExpression.cs (1)
179
if (row.RowState == DataRowState.
Deleted
)
System\Data\ForeignKeyConstraint.cs (4)
232
Index childIndex = _childKey.GetSortIndex(row.RowState == DataRowState.
Deleted
? DataViewRowState.Deleted : DataViewRowState.CurrentRows);
233
object[] key = row.GetKeyValues(_parentKey, row.RowState == DataRowState.
Deleted
? DataRowVersion.Original : DataRowVersion.Default);
362
Index childIndex = _childKey.GetSortIndex(row.RowState == DataRowState.
Deleted
? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows);
387
if (row.RowState != DataRowState.
Deleted
&& row.Table.DataSet.EnforceConstraints)
System\Data\xmlsaver.cs (4)
2510
if ((state == DataRowState.
Deleted
) && (row.Table.NestedParentRelations.Length != 0))
2527
if ((state == DataRowState.
Deleted
) && XmlDataTreeWriter.RowHasErrors(row))
2825
if (row.RowState == DataRowState.
Deleted
)
2904
if (row.RowState == DataRowState.
Deleted
)
System\Xml\DataPointer.cs (1)
117
if (row.RowState == DataRowState.
Deleted
)
System\Xml\XmlDataDocument.cs (9)
655
Debug.Assert(node.Row.RowState != DataRowState.
Deleted
);
1264
case DataRowState.
Deleted
:
1587
Debug.Assert(args.Row.RowState != DataRowState.
Deleted
);
2013
case DataRowState.
Deleted
:
2100
case DataRowState.
Deleted
:
2422
if (row.RowState == DataRowState.
Deleted
)
2776
case DataRowState.
Deleted
:
2831
case DataRowState.
Deleted
:
2880
Debug.Assert(row.RowState == DataRowState.Detached || row.RowState == DataRowState.
Deleted
);
System\Xml\XPathNodePointer.cs (2)
543
if (row.RowState == DataRowState.
Deleted
)
564
if (row.RowState == DataRowState.
Deleted
)