46 references to Detached
System.Data.Common (46)
System\Data\Common\AdapterUtil.Common.cs (1)
116
case DataRowState.
Detached
:
System\Data\Common\DbDataAdapter.cs (2)
1022
case DataRowState.
Detached
:
1714
if (0 != ((DataRowState.
Detached
| DataRowState.Unchanged) & row.RowState))
System\Data\DataRow.cs (3)
145
return DataRowState.
Detached
; // 2
545
if (RowState != DataRowState.
Detached
&& RowState != DataRowState.Deleted)
1182
if (RowState != DataRowState.
Detached
)
System\Data\DataRowCollection.cs (3)
102
public int IndexOf(DataRow? row) => (null == row) || (row.Table != _table) || ((0 == row.RBTreeNodeId) && (row.RowState == DataRowState.
Detached
)) ?
184
if ((row.RowState != DataRowState.Deleted) && (row.RowState != DataRowState.
Detached
))
189
if (row.RowState != DataRowState.
Detached
)
System\Data\DataSet.cs (1)
1546
const DataRowState allRowStates = DataRowState.
Detached
| DataRowState.Unchanged | DataRowState.Added | DataRowState.Deleted | DataRowState.Modified;
System\Data\DataSetUtil.cs (1)
58
case DataRowState.
Detached
:
System\Data\DataTable.cs (3)
4445
if (row.RowState == DataRowState.
Detached
&& row.rowID != -1)
4547
if (row.RowState == DataRowState.
Detached
&& row.rowID != -1)
5202
if (DataRowState.
Detached
== dataRow.RowState)
System\Data\DataTableExtensions.cs (1)
150
case DataRowState.
Detached
:
System\Data\DataTableReader.cs (2)
895
if ((_currentDataRow.RowState == DataRowState.Deleted) || (_currentDataRow.RowState == DataRowState.
Detached
) || _currentRowRemoved)
961
if (args.Row.RowState == DataRowState.
Detached
)
System\Data\DataView.cs (2)
790
if (DataRowState.
Detached
== newRow.RowState)
868
if ((null != _index) && (DataRowState.
Detached
!= rowview.Row.RowState))
System\Data\ForeignKeyConstraint.cs (2)
225
if (row.RowState == DataRowState.
Detached
)
247
if (DataRowState.
Detached
!= childRow.RowState)
System\Data\XmlDataLoader.cs (1)
107
if (r != null && r.RowState == DataRowState.
Detached
)
System\Xml\DataPointer.cs (3)
126
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
571
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
852
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
System\Xml\XmlDataDocument.cs (15)
134
if (fAddRowsToTable && r.RowState == DataRowState.
Detached
)
173
if (fAddRowsToTable && r.RowState == DataRowState.
Detached
)
671
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
1267
case DataRowState.
Detached
:
1326
Debug.Assert(row.RowState == DataRowState.
Detached
);
1337
Debug.Assert(row.RowState == DataRowState.
Detached
);
1350
Debug.Assert(row.RowState == DataRowState.
Detached
);
1602
if (row.RowState == DataRowState.
Detached
)
1958
if (oldRowElem.Row!.RowState == DataRowState.
Detached
)
2033
if (row.RowState == DataRowState.
Detached
)
2103
case DataRowState.
Detached
:
2752
case DataRowState.
Detached
:
2814
case DataRowState.
Detached
:
2880
Debug.Assert(row.RowState == DataRowState.
Detached
|| row.RowState == DataRowState.Deleted);
2882
if (row.RowState == DataRowState.
Detached
)
System\Xml\XPathNodePointer.cs (6)
329
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
368
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
550
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
570
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
1348
DataRowVersion rowVersion = (curRow.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
1660
DataRowVersion rowVersion = (row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;