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