1 write to _index
System.Data.Common (1)
System\Data\DataView.cs (1)
1611
_index
= newIndex;
34 references to _index
System.Data.Common (34)
System\Data\DataView.cs (34)
280
private int CountFromIndex => ((null !=
_index
) ?
_index
.RecordCount : 0) + ((null != _addNewRow) ? 1 : 0);
637
if (null !=
_index
)
639
RBTree<int>.RBTreeEnumerator iterator =
_index
.GetEnumerator(0);
657
if (null !=
_index
)
659
RBTree<int>.RBTreeEnumerator iterator =
_index
.GetEnumerator(0);
722
internal virtual int FindByKey(object? key) =>
_index
!.FindRecordByKey(key);
731
internal virtual int FindByKey(object?[] key) =>
_index
!.FindRecordByKey(key);
750
Range range =
_index
!.FindRecords(key);
763
return
_index
!.FindRecords(comparison, key);
868
if ((null !=
_index
) && (DataRowState.Detached != rowview.Row.RowState))
885
return
_index
!.GetIndex(rowview.Row.GetRecordFromVersion(rowview.Row.GetDefaultRowVersion(RowStateFilter) & ~DataRowVersion.Proposed));
955
if (_table != null &&
_index
!= null &&
_index
._indexFields.Length == 1)
957
return new DataColumnPropertyDescriptor(
_index
._indexFields[0].Column);
962
ListSortDirection IBindingList.SortDirection => (
_index
!._indexFields.Length == 1 &&
_index
._indexFields[0].IsDescending) ?
1019
return
_index
!.GetIndex(findIndex.GetRecord(recordRange.Min));
1126
if (_table != null &&
_index
!= null &&
_index
._indexFields.Length > 0)
1128
sortDescArray = new ListSortDescription[
_index
._indexFields.Length];
1129
for (int i = 0; i <
_index
._indexFields.Length; i++)
1131
DataColumnPropertyDescriptor columnProperty = new DataColumnPropertyDescriptor(
_index
._indexFields[i].Column);
1132
if (
_index
._indexFields[i].IsDescending)
1218
return recordIndex ==
_index
!.RecordCount ?
1220
_index
.GetRecord(recordIndex);
1251
if (_addNewRow != null &&
_index
!.RecordCount == 0)
1445
_index
!.Reset();
1454
if (null !=
_index
)
1457
RBTree<int>.RBTreeEnumerator iterator =
_index
.GetEnumerator(0);
1601
if (
_index
== newIndex)
1606
if (
_index
!= null)
1613
if (
_index
!= null)
1615
_dvListener.RegisterListChangedEvent(
_index
);