11 references to GetSortIndex
System.Data.Common (11)
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\DataTable.cs (4)
4616_loadIndex = _primaryKey.Key.GetSortIndex(DataViewRowState.OriginalRows); 4752_loadIndexwithCurrentDeleted = _primaryKey.Key.GetSortIndex(DataViewRowState.CurrentRows | DataViewRowState.Deleted); 4763_loadIndexwithOriginalAdded = _primaryKey.Key.GetSortIndex(DataViewRowState.OriginalRows | DataViewRowState.Added); 4794index = _primaryKey.Key.GetSortIndex(DataViewRowState.OriginalRows);
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\Merger.cs (1)
209ndxSearch = dst._primaryKey.Key.GetSortIndex(DataViewRowState.OriginalRows | DataViewRowState.Added);