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