1 write to IndexFields
System.Data (1)
fx\src\data\System\Data\Selection.cs (1)
128IndexFields = indexFields;
43 references to IndexFields
System.Data (43)
fx\src\data\System\Data\DataTable.cs (1)
3682foreach(IndexField field in ndx.IndexFields) {
fx\src\data\System\Data\DataView.cs (9)
1024if (table != null && index != null && index.IndexFields.Length == 1) { 1025return new DataColumnPropertyDescriptor(index.IndexFields[0].Column); 1032if (index.IndexFields.Length == 1 && index.IndexFields[0].IsDescending) { 1188if (table != null && index != null && index.IndexFields.Length > 0) { 1189sortDescArray = new ListSortDescription[index.IndexFields.Length]; 1190for(int i = 0; i < index.IndexFields.Length; i++ ) { 1191DataColumnPropertyDescriptor columnProperty = new DataColumnPropertyDescriptor(index.IndexFields[i].Column); 1192if (index.IndexFields[i].IsDescending) {
fx\src\data\System\Data\Select.cs (7)
187if (CompareSortIndexDesc(ndx.IndexFields)) { 231int match = CompareClosestCandidateIndexDesc(ndx.IndexFields); 235sortPriority = CompareSortIndexDesc(ndx.IndexFields); 357IndexField[] fields = index.IndexFields; 396IndexField[] fields = index.IndexFields; 618IndexField[] fields = index.IndexFields; 663Debug.Assert(matchedCandidates <= index.IndexFields.Length, "GetBinaryFilteredRecords : Invalid Index");
fx\src\data\System\Data\Selection.cs (24)
150IndexFields.Length != indexDesc.Length || 157for (int loop = 0; loop < IndexFields.Length; loop++) { 158if (IndexFields[loop].Column!= indexDesc[loop].Column || 159IndexFields[loop].IsDescending != indexDesc[loop].IsDescending) { 323if (0 < IndexFields.Length) { 324for (int i = 0; i < IndexFields.Length; i++) { 325int c = IndexFields[i].Column.Compare(record1, record2); 327return (IndexFields[i].IsDescending ? -c : c); 394for (int i = 0; i < IndexFields.Length; i++) { 395int c = IndexFields[i].Column.CompareValueTo(record1, vals[i]); 397return (IndexFields[i].IsDescending ? -c : c); 494if (IndexFields == null || IndexFields.Length == 0) { 531if (IndexFields.Length != 1) { 532throw ExceptionBuilder.IndexKeyLength(IndexFields.Length, 1); 537DataColumn column = IndexFields[0].Column; 541if (IndexFields[0].IsDescending) { 564if ((0 == c) || (IndexFields.Length != c)) { 565throw ExceptionBuilder.IndexKeyLength(IndexFields.Length, c); 573key[i] = IndexFields[i].Column.ConvertValue(originalKey[i]); 692bool append = (0 == IndexFields.Length); 754if ((0 == IndexFields.Length) && (null != table)) 946object[] element = new object[IndexFields.Length]; // number of columns in PK 948element[j] = IndexFields[j].Column[record];
fx\src\data\System\Data\UniqueConstraint.cs (2)
144DataColumn[] sortIndexColumns = new DataColumn[_constraintIndex.IndexFields.Length]; 146sortIndexColumns[i] = _constraintIndex.IndexFields[i].Column;