16 references to Rollback
System.Data.Common (16)
System\Data\DataRow.cs (1)
1038Debug.Assert(_action == DataRowAction.Rollback || 0 != (DataViewRowState.Deleted & viewState), "not DataViewRowState.Deleted");
System\Data\DataTable.cs (5)
4110SetNewRecord(row, row._oldRecord, DataRowAction.Rollback, false, true); 4706SetNewRecord(row, row._oldRecord, DataRowAction.Rollback, false, true); 4826action == DataRowAction.Rollback || action == DataRowAction.ChangeOriginal || 6993(action == DataRowAction.Rollback && (row._oldRecord != -1 || row._newRecord != -1))) 7010else if ((action == DataRowAction.Delete || (action == DataRowAction.Rollback && row._oldRecord == -1 && row._newRecord == -1)) && _dependentColumns != null)
System\Data\DataTableReader.cs (1)
959case DataRowAction.Rollback:// rejectchanges
System\Data\Filter\AggregateNode.cs (2)
203if (DataRowAction.Rollback != rows[i]._action) 210else if ((DataRowAction.Rollback == rows[i]._action) && (rows[i].RowState == DataRowState.Added))
System\Data\ForeignKeyConstraint.cs (4)
545else if (action == DataRowAction.Rollback) 567action == DataRowAction.Rollback) && 572DataRowVersion version = (action == DataRowAction.Rollback) ? DataRowVersion.Original : DataRowVersion.Current; 581object[] parentKeyValues = parentRow.GetKeyValues(_parentKey, action == DataRowAction.Rollback ? version : DataRowVersion.Default);
System\Data\UniqueConstraint.cs (1)
253(action == DataRowAction.Rollback && row._tempRecord != -1)))
System\Xml\XmlDataDocument.cs (2)
2010case DataRowAction.Rollback: 2091case DataRowAction.Rollback: