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