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