70 references to Deleted
System.Data (66)
fx\src\data\System\Data\Common\AdapterUtil.cs (3)
2329
const DataRowState rowStates = DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified;
2339
case DataRowState.
Deleted
:
2361
case DataRowState.
Deleted
:
fx\src\data\System\Data\Common\DbDataAdapter.cs (2)
862
case DataRowState.
Deleted
:
1389
if (0 != ((DataRowState.Added|DataRowState.
Deleted
|DataRowState.Modified)&row.RowState)) {
fx\src\data\System\Data\DataColumn.cs (1)
1404
if (dr.RowState == DataRowState.
Deleted
)
fx\src\data\System\Data\DataRow.cs (4)
172
return DataRowState.
Deleted
; // 3
495
if (this.RowState != DataRowState.Detached && this.RowState != DataRowState.
Deleted
) {
1094
if (this.RowState != DataRowState.
Deleted
)
1108
if (this.RowState != DataRowState.
Deleted
)
fx\src\data\System\Data\DataRowCollection.cs (1)
207
if ((row.RowState != DataRowState.
Deleted
) && (row.RowState != DataRowState.Detached))
fx\src\data\System\Data\DataSet.cs (7)
1229
return GetChanges(DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified);
1261
if (0 != (rowStates & ~(DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified | DataRowState.Unchanged))) {
1317
DataRowState.
Deleted
== rowState ||
1326
if (DataRowState.
Deleted
!= rowState) {
1347
if (DataRowState.
Deleted
!= relatedRow.RowState) {
1440
return HasChanges(DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified);
1453
const DataRowState allRowStates = DataRowState.Detached | DataRowState.Unchanged | DataRowState.Added | DataRowState.
Deleted
| DataRowState.Modified;
fx\src\data\System\Data\DataTable.cs (12)
651
case DataRowState.
Deleted
:
755
case DataRowState.
Deleted
:
796
return DataRowState.
Deleted
;
4225
if (row.RowState == DataRowState.
Deleted
)
4527
if (loadOption != LoadOption.Upsert || dataRow.RowState != DataRowState.
Deleted
) {
4619
case DataRowState.
Deleted
:
4694
if (dataRow.RowState == DataRowState.
Deleted
)
6327
if (dr.RowState == DataRowState.
Deleted
) {
6341
if (row.RowState == DataRowState.
Deleted
) {
6367
if (cachedRow != null && ((cachedRow.RowState != DataRowState.
Deleted
) && (version != DataRowVersion.Original || cachedRow.oldRecord != -1))) {// if deleted GetRecordFromVersion will throw
6385
if (parentRow != null && ((parentRow.RowState != DataRowState.
Deleted
) && (version != DataRowVersion.Original || parentRow.oldRecord != -1))) {// if deleted GetRecordFromVersion will throw
6402
if (childRow != null && ((childRow.RowState != DataRowState.
Deleted
) && (version != DataRowVersion.Original || childRow.oldRecord != -1))) { // if deleted GetRecordFromVersion will throw
fx\src\data\System\Data\DataTableReader.cs (4)
197
while (currentDataRow.RowState == DataRowState.
Deleted
) {
247
if ((currentDataRow == null) || (currentDataRow.RowState == DataRowState.
Deleted
)) {
265
if ((currentDataRow == null) || (currentDataRow.RowState == DataRowState.
Deleted
)) {
757
if ((currentDataRow.RowState == DataRowState.
Deleted
) || (currentDataRow.RowState == DataRowState.Detached) ||currentRowRemoved)
fx\src\data\System\Data\DataViewRowState.cs (1)
26
Deleted = DataRowState.
Deleted
,
fx\src\data\System\Data\Filter\AggregateNode.cs (1)
180
if (rows[i].RowState == DataRowState.
Deleted
) {
fx\src\data\System\Data\Filter\DataExpression.cs (1)
153
if (row.RowState == DataRowState.
Deleted
)
fx\src\data\System\Data\ForeignKeyConstraint.cs (4)
239
Index childIndex = childKey.GetSortIndex( row.RowState == DataRowState.
Deleted
? DataViewRowState.Deleted : DataViewRowState.CurrentRows );
240
object[] key = row.GetKeyValues(parentKey, row.RowState == DataRowState.
Deleted
? DataRowVersion.Original : DataRowVersion.Default );
343
Index childIndex = childKey.GetSortIndex( row.RowState == DataRowState.
Deleted
? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows);
364
if (row.RowState != DataRowState.
Deleted
&& row.Table.DataSet.EnforceConstraints) {
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (9)
1040
Debug.Assert((_rowStateToSkip & DataRowState.
Deleted
) != 0, "Deleted is a permitted rowstate?");
1540
_rowStateToSkip = ((rowState == 0) || (rowState == DataRowState.
Deleted
)) ? DataRowState.
Deleted
: ~rowState | DataRowState.
Deleted
;
1577
_rowStateToSkip = DataRowState.
Deleted
; // Don't allow deleted rows
1627
_rowStateToSkip = DataRowState.
Deleted
; // Don't allow deleted rows
1730
_rowStateToSkip = ((rowState == 0) || (rowState == DataRowState.
Deleted
)) ? DataRowState.
Deleted
: ~rowState | DataRowState.
Deleted
;
fx\src\data\System\Data\xmlsaver.cs (4)
2168
if ( (state == DataRowState.
Deleted
) && (row.Table.NestedParentRelations.Length != 0)){
2186
if ( (state == DataRowState.
Deleted
) && XmlDataTreeWriter.RowHasErrors(row))
2442
if (row.RowState == DataRowState.
Deleted
)
2506
if (row.RowState == DataRowState.
Deleted
)
fx\src\data\System\NewXml\DataPointer.cs (1)
114
if (row.RowState == DataRowState.
Deleted
)
fx\src\data\System\NewXml\XmlDataDocument.cs (9)
597
Debug.Assert( node.Row.RowState != DataRowState.
Deleted
);
1139
case DataRowState.
Deleted
:
1417
Debug.Assert( args.Row.RowState != DataRowState.
Deleted
);
1807
case DataRowState.
Deleted
:
1887
case DataRowState.
Deleted
:
2181
if ( row.RowState == DataRowState.
Deleted
)
2486
case DataRowState.
Deleted
:
2539
case DataRowState.
Deleted
:
2587
Debug.Assert( row.RowState == DataRowState.Detached || row.RowState == DataRowState.
Deleted
);
fx\src\data\System\NewXml\XPathNodePointer.cs (2)
509
if (row.RowState == DataRowState.
Deleted
)
529
if (row.RowState == DataRowState.
Deleted
)
System.Data.DataSetExtensions (4)
System\Data\DataRowComparer.cs (3)
167
if (leftRow.RowState == DataRowState.
Deleted
|| rightRow.RowState == DataRowState.
Deleted
)
201
if (row.RowState == DataRowState.
Deleted
)
System\Data\DataTableExtensions.cs (1)
205
case DataRowState.
Deleted
: