44 references to Detached
System.Data (43)
fx\src\data\System\Data\Common\DbDataAdapter.cs (2)
855
case DataRowState.
Detached
:
1450
if (0 != ((DataRowState.
Detached
|DataRowState.Unchanged) & row.RowState)) {
fx\src\data\System\Data\DataRow.cs (3)
156
return DataRowState.
Detached
; // 2
495
if (this.RowState != DataRowState.
Detached
&& this.RowState != DataRowState.Deleted) {
1089
if (this.RowState != DataRowState.
Detached
) {
fx\src\data\System\Data\DataRowCollection.cs (3)
101
if ((null == row) || (row.Table != this.table) || ((0 == row.RBTreeNodeId) && (row.RowState == DataRowState.
Detached
))) //Webdata 102857
207
if ((row.RowState != DataRowState.Deleted) && (row.RowState != DataRowState.
Detached
))
210
if (row.RowState != DataRowState.
Detached
)
fx\src\data\System\Data\DataSet.cs (1)
1453
const DataRowState allRowStates = DataRowState.
Detached
| DataRowState.Unchanged | DataRowState.Added | DataRowState.Deleted | DataRowState.Modified;
fx\src\data\System\Data\DataTable.cs (3)
3994
if (row.RowState == DataRowState.
Detached
&& row.rowID != -1) {
4082
if (row.RowState == DataRowState.
Detached
&& row.rowID != -1) {
4655
if (DataRowState.
Detached
== dataRow.RowState) {
fx\src\data\System\Data\DataTableReader.cs (2)
757
if ((currentDataRow.RowState == DataRowState.Deleted) || (currentDataRow.RowState == DataRowState.
Detached
) ||currentRowRemoved)
818
if ( args.Row.RowState == DataRowState.
Detached
) {
fx\src\data\System\Data\DataView.cs (2)
841
if (DataRowState.
Detached
== newRow.RowState) {
922
if ((null != index) && (DataRowState.
Detached
!= rowview.Row.RowState)) {
fx\src\data\System\Data\ForeignKeyConstraint.cs (2)
236
if (row.RowState == DataRowState.
Detached
)
252
if (DataRowState.
Detached
!= childRow.RowState) {
fx\src\data\System\Data\XmlDataLoader.cs (1)
101
if (r != null && r.RowState == DataRowState.
Detached
) {
fx\src\data\System\NewXml\DataPointer.cs (3)
121
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
461
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
679
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
fx\src\data\System\NewXml\XmlDataDocument.cs (15)
127
if ( fAddRowsToTable && r.RowState == DataRowState.
Detached
)
162
if ( fAddRowsToTable && r.RowState == DataRowState.
Detached
)
612
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
1142
case DataRowState.
Detached
:
1196
Debug.Assert( row.RowState == DataRowState.
Detached
);
1205
Debug.Assert( row.RowState == DataRowState.
Detached
);
1216
Debug.Assert( row.RowState == DataRowState.
Detached
);
1432
if ( row.RowState == DataRowState.
Detached
) {
1749
if ( oldRowElem.Row.RowState == DataRowState.
Detached
)
1827
if ( row.RowState == DataRowState.
Detached
) {
1890
case DataRowState.
Detached
:
2464
case DataRowState.
Detached
:
2523
case DataRowState.
Detached
:
2587
Debug.Assert( row.RowState == DataRowState.
Detached
|| row.RowState == DataRowState.Deleted );
2589
if ( row.RowState == DataRowState.
Detached
)
fx\src\data\System\NewXml\XPathNodePointer.cs (6)
298
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
332
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
516
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
536
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
1213
DataRowVersion rowVersion = ( curRow.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
1490
DataRowVersion rowVersion = ( row.RowState == DataRowState.
Detached
) ? DataRowVersion.Proposed : DataRowVersion.Current;
System.Data.DataSetExtensions (1)
System\Data\DataTableExtensions.cs (1)
186
case DataRowState.
Detached
: