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)
1289
GetChanges(DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified);
1322
if (0 != (rowStates & ~(DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified | DataRowState.Unchanged)))
1390
Debug.Assert(DataRowState.
Added
== rowState ||
1521
public bool HasChanges() => HasChanges(DataRowState.
Added
| DataRowState.Deleted | DataRowState.Modified);
1532
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)
705
case DataRowState.
Added
:
818
case DataRowState.
Added
:
875
return DataRowState.
Added
;
2187
int saveIdxRecord = (saveRowState == DataRowState.
Added
) ? targetRow._newRecord : targetRow._oldRecord;
2211
if (saveIdxRecord != ((saveRowState == DataRowState.
Added
) ? newRecord : oldRecord))
2215
saveIdxRecord = ((saveRowState == DataRowState.
Added
) ? newRecord : oldRecord);
2240
if (saveRowState == DataRowState.
Added
&& targetRow._oldRecord != -1)
2245
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)
2482
if ((state == DataRowState.Unchanged) || (state == DataRowState.
Added
))
2937
if (row.RowState == DataRowState.
Added
)
System\Xml\XmlDataDocument.cs (5)
1269
case DataRowState.
Added
:
2046
case DataRowState.
Added
:
2135
case DataRowState.
Added
:
2692
return (row.RowState & (DataRowState.
Added
| DataRowState.Unchanged | DataRowState.Modified)) != 0;
2887
case DataRowState.
Added
: