6 instantiations of Index
System.Data (6)
fx\src\data\System\Data\DataTable.cs (1)
2923Index ndx = new Index(this, indexDesc, recordStates, rowFilter);
fx\src\data\System\Data\DataView.cs (1)
1591newIndex = new Index(table, SortComparison, ((DataViewRowState)(int)recordStates), GetFilter());
fx\src\data\System\Data\Merger.cs (1)
244ndxSearch = new Index(dst, dst.primaryKey.Key.GetIndexDesc(), DataViewRowState.OriginalRows | DataViewRowState.Added, (IFilter)null);
fx\src\data\System\Data\Select.cs (3)
268index = new Index(table, IndexFields, recordStates, null); 324index = new Index(table, ndxFields, recordStates, null); 354index = new Index(table, ndxFields, recordStates, null);
73 references to Index
System.Data (73)
fx\src\data\System\Data\DataColumn.cs (3)
47internal Index sortIndex = null; 1091private Index SortIndex { 1661Index index = this.SortIndex;
fx\src\data\System\Data\DataColumnCollection.cs (1)
504foreach (Index index in table.LiveIndexes) {
fx\src\data\System\Data\DataKey.cs (2)
201internal Index GetSortIndex() { 205internal Index GetSortIndex(DataViewRowState recordStates) {
fx\src\data\System\Data\DataRelation.cs (3)
250Index index = childKey.GetSortIndex((version == DataRowVersion.Original) ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows); 263Index index = parentKey.GetSortIndex((version == DataRowVersion.Original) ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows); 277Index index = parentKey.GetSortIndex((version == DataRowVersion.Original) ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows);
fx\src\data\System\Data\DataTable.cs (28)
68internal readonly List<Index> indexes; 70private List<Index> shadowIndexes; 111private Index loadIndex; 112private Index loadIndexwithOriginalAdded = null; 113private Index loadIndexwithCurrentDeleted = null; 192this.indexes = new List<Index>(); 895Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 1005internal List<Index> LiveIndexes { 1009Index index = indexes[i]; 1981internal DataRow FindByIndex(Index ndx, object[] key) { 1989internal DataRow FindMergeTarget(DataRow row, DataKey key, Index ndx) { 2016internal DataRow MergeRow(DataRow row, DataRow targetRow, bool preserveChanges, Index idxSearch) { 2800Index index = GetIndex(NewIndexDesc(key)); 2808Index index = GetIndex(NewIndexDesc(key)); 2900internal Index GetIndex(IndexField[] indexDesc) { 2904internal Index GetIndex(string sort, DataViewRowState recordStates, IFilter rowFilter) { 2908internal Index GetIndex(IndexField[] indexDesc, DataViewRowState recordStates, IFilter rowFilter) { 2912Index index = indexes[i]; 2923Index ndx = new Index(this, indexDesc, recordStates, rowFilter); 3418Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 3439Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 3456Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 3475Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 3674Index ndx = shadowIndexes[i];// shadowindexes may change, see ShadowIndexCopy() 4111shadowIndexes = new List<Index>(indexes); 4260Index indextoUse = null; 4300Index index = null; 4489private DataRow LoadRow(object[] values, LoadOption loadOption, Index searchIndex) {
fx\src\data\System\Data\DataView.cs (10)
34private Index index; 35private Dictionary<string,Index> findIndexes; 817internal Range FindRecords<TKey,TRow>(Index.ComparisonBySelector<TKey,TRow> comparison, TKey key) where TRow:DataRow 958internal Index GetFindIndex(string column, bool keepIndex) { 960findIndexes = new Dictionary<string,Index>(); 962Index findIndex; 1088Index findIndex = null; 1562Dictionary<string,Index> indexes = findIndexes; 1565foreach(KeyValuePair<string,Index> entry in indexes) { 1585Index newIndex = null;
fx\src\data\System\Data\DataViewListener.cs (3)
20private Index _index; 135internal void RegisterListChangedEvent(Index index) { 147Index index = _index;
fx\src\data\System\Data\ForeignKeyConstraint.cs (9)
195Index childIndex = childKey.GetSortIndex(); 199Index parentIndex = parentKey.GetSortIndex(); 221Index childIndex = childKey.GetSortIndex(); 224Index parentIndex = parentKey.GetSortIndex(); 239Index childIndex = childKey.GetSortIndex( row.RowState == DataRowState.Deleted ? DataViewRowState.Deleted : DataViewRowState.CurrentRows ); 271Index childIndex = childKey.GetSortIndex(); 343Index childIndex = childKey.GetSortIndex( row.RowState == DataRowState.Deleted ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows); 386Index childIndex = childKey.GetSortIndex(); 527Index parentIndex = parentKey.GetSortIndex();
fx\src\data\System\Data\Merger.cs (2)
176Index ndxSearch = null; 206Index ndxSearch = null;
fx\src\data\System\Data\Select.cs (5)
24private Index index; 181Index ndx = (Index)table.indexes[i]; 226Index ndx = (Index)table.indexes[i];
fx\src\data\System\Data\Selection.cs (4)
52private readonly Index _index; 54internal IndexTree(Index index) : base(TreeAccessMethod.KEY_SEARCH_AND_INDEX) { 999Debug.Assert(!Index.ContainsReference(listeners, listener), "already contains reference"); 1004return Index.IndexOfReference(listeners, listener);
fx\src\data\System\Data\UniqueConstraint.cs (3)
26private Index _constraintIndex; 131internal Index ConstraintIndex { 210Index index = ConstraintIndex;