29 references to CurrentRows
System.Data.Common (29)
System\Data\DataColumn.cs (1)
1076_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)
1252view.SetIndex2("", DataViewRowState.CurrentRows, null, true); 2966DataRow[] rows = Select(filter, "", DataViewRowState.CurrentRows); 3172GetIndex(indexDesc, DataViewRowState.CurrentRows, null); 4216return new Select(this, "", "", DataViewRowState.CurrentRows).SelectRows(); 4227return new Select(this, filterExpression, "", DataViewRowState.CurrentRows).SelectRows(); 4238return new Select(this, filterExpression, sort, DataViewRowState.CurrentRows).SelectRows(); 4752_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