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