29 references to CurrentRows
System.Data.Common (29)
System\Data\DataColumn.cs (1)
1077_sortIndex = _table!.GetIndex(indexDesc, DataViewRowState.CurrentRows, null);
System\Data\DataKey.cs (1)
207internal Index GetSortIndex() => GetSortIndex(DataViewRowState.CurrentRows);
System\Data\DataRelation.cs (3)
227Index index = childKey.GetSortIndex((version == DataRowVersion.Original) ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows); 242Index index = parentKey.GetSortIndex((version == DataRowVersion.Original) ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows); 262Index index = parentKey.GetSortIndex((version == DataRowVersion.Original) ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows);
System\Data\DataRowView.cs (1)
165childView.SetIndex("", DataViewRowState.CurrentRows, null); // finish construction via RelatedView.SetIndex
System\Data\DataTable.cs (7)
1257view.SetIndex2("", DataViewRowState.CurrentRows, null, true); 2971DataRow[] rows = Select(filter, "", DataViewRowState.CurrentRows); 3177GetIndex(indexDesc, DataViewRowState.CurrentRows, null); 4221return new Select(this, "", "", DataViewRowState.CurrentRows).SelectRows(); 4232return new Select(this, filterExpression, "", DataViewRowState.CurrentRows).SelectRows(); 4243return new Select(this, filterExpression, sort, DataViewRowState.CurrentRows).SelectRows(); 4757_loadIndexwithCurrentDeleted = _primaryKey.Key.GetSortIndex(DataViewRowState.CurrentRows | DataViewRowState.Deleted);
System\Data\DataView.cs (9)
43private DataViewRowState _recordStates = DataViewRowState.CurrentRows; 113SetIndex2("", DataViewRowState.CurrentRows, null, true); 122SetIndex2("", DataViewRowState.CurrentRows, null, true); 146if ((((int)RowState) & ((int)~(DataViewRowState.CurrentRows | DataViewRowState.OriginalRows))) != 0) 179if ((((int)RowState) & ((int)~(DataViewRowState.CurrentRows | DataViewRowState.OriginalRows))) != 0) 377[DefaultValue(DataViewRowState.CurrentRows)] 390if ((((int)value) & ((int)~(DataViewRowState.CurrentRows | DataViewRowState.OriginalRows))) != 0) 504SetIndex2("", DataViewRowState.CurrentRows, null, false); 1510SetIndex("", DataViewRowState.CurrentRows, null);
System\Data\DataViewSetting.cs (1)
16private DataViewRowState _rowStateFilter = DataViewRowState.CurrentRows;
System\Data\ForeignKeyConstraint.cs (2)
232Index childIndex = _childKey.GetSortIndex(row.RowState == DataRowState.Deleted ? DataViewRowState.Deleted : DataViewRowState.CurrentRows); 362Index childIndex = _childKey.GetSortIndex(row.RowState == DataRowState.Deleted ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows);
System\Data\LinqDataView.cs (2)
64DataViewRowState.CurrentRows) 221if ((base.SortComparison != null || base.RowPredicate != null) && newRowStates != DataViewRowState.CurrentRows)
System\Data\Selection.cs (2)
116(~(DataViewRowState.CurrentRows | DataViewRowState.OriginalRows))) != 0) 692return ((0 != (DataViewRowState.CurrentRows & oldState)) ? ReplaceNewRecordForCompare : // Added/ModifiedCurrent/Unchanged