33 references to Added
System.Data.Common (33)
System\Data\Common\AdapterUtil.Common.cs (4)
118
case DataRowState.
Added
:
709
const DataRowState rowStates = DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified;
718
case DataRowState.
Added
:
743
case DataRowState.
Added
:
System\Data\Common\DbDataAdapter.cs (2)
1025
case DataRowState.
Added
:
1641
if (0 != ((DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified) & row.RowState))
System\Data\DataRow.cs (2)
162
return DataRowState.
Added
; // 2
1410
if ((DataRowState.
Added
== state) || (DataRowState.Modified == state))
System\Data\DataSet.cs (5)
1299
GetChanges(DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified);
1332
if (0 != (rowStates & ~(DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified | DataRowState.Unchanged)))
1400
Debug.Assert(DataRowState.
Added
== rowState ||
1535
public bool HasChanges() => HasChanges(DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified);
1546
const DataRowState allRowStates = DataRowState.Detached | DataRowState.Unchanged | DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified;
System\Data\DataSetUtil.cs (1)
60
case DataRowState.
Added
:
System\Data\DataTable.cs (8)
710
case DataRowState.
Added
:
823
case DataRowState.
Added
:
880
return DataRowState.
Added
;
2192
int saveIdxRecord = (saveRowState == DataRowState.
Added
) ? targetRow._newRecord : targetRow._oldRecord;
2216
if (saveIdxRecord != ((saveRowState == DataRowState.
Added
) ? newRecord : oldRecord))
2220
saveIdxRecord = ((saveRowState == DataRowState.
Added
) ? newRecord : oldRecord);
2245
if (saveRowState == DataRowState.
Added
&& targetRow._oldRecord != -1)
2250
Debug.Assert(saveIdxRecord == ((saveRowState == DataRowState.
Added
) ? targetRow._newRecord : targetRow._oldRecord), "oops, you change index record without noticing it");
System\Data\DataTableExtensions.cs (2)
155
goto case DataRowState.
Added
;
157
case DataRowState.
Added
:
System\Data\DataViewRowState.cs (1)
18
Added = DataRowState.
Added
,
System\Data\Filter\AggregateNode.cs (1)
210
else if ((DataRowAction.Rollback == rows[i]._action) && (rows[i].RowState == DataRowState.
Added
))
System\Data\xmlsaver.cs (2)
2496
if ((state == DataRowState.Unchanged) || (state == DataRowState.
Added
))
2955
if (row.RowState == DataRowState.
Added
)
System\Xml\XmlDataDocument.cs (5)
1259
case DataRowState.
Added
:
2018
case DataRowState.
Added
:
2106
case DataRowState.
Added
:
2651
return (row.RowState & (DataRowState.
Added
| DataRowState.Unchanged | DataRowState.Modified)) != 0;
2841
case DataRowState.
Added
: