52 references to Ordinal
System.Data.Common (52)
System\Data\DataSet.cs (2)
556
parentInfo[j] = rel.ParentColumns[j - 1].
Ordinal
;
563
childInfo[j] = rel.ChildColumns[j - 1].
Ordinal
;
System\Data\DataTable.cs (6)
539
colInfo[j] = uc.Columns[j].
Ordinal
;
563
parentInfo[j] = fk.RelatedColumns[j - 1].
Ordinal
;
570
childInfo[j] = fk.Columns[j - 1].
Ordinal
;
915
columnsInError[i] = dcArr[i].
Ordinal
;
2447
key[i] = clone.Columns[pkey[i].
Ordinal
];
5021
primaryKeyIndex[i] = _primaryKey.ColumnsReference[i].
Ordinal
;
System\Data\DataTableReader.cs (3)
630
return dc.
Ordinal
;
798
dr[ColumnOrdinal] = dc.
Ordinal
;
849
tempSchemaTable.Rows[key.
Ordinal
][IsKeyColumn] = true;
System\Data\ProviderBase\SchemaMapping.cs (7)
687
columnIndexMap[i] = dataColumn.
Ordinal
;
689
else if (i != dataColumn.
Ordinal
)
692
columnIndexMap[i] = dataColumn.
Ordinal
;
1035
columnIndexMap[unsortedIndex] = dataColumn.
Ordinal
;
1037
else if (unsortedIndex != dataColumn.
Ordinal
)
1040
columnIndexMap[unsortedIndex] = dataColumn.
Ordinal
;
1256
_mappedDataValues![chapterColumn.
Ordinal
] = chapterValue;
System\Data\Select.cs (11)
143
ColumnInfo canColumn = _candidateColumns[((NameNode)(expr._left))._column!.
Ordinal
];
166
ColumnInfo canColumn = _candidateColumns[((NameNode)(expr._left))._column!.
Ordinal
];
196
ColumnInfo canColumn = _candidateColumns[fields[i].Column.
Ordinal
];
243
ColumnInfo canColumn = _candidateColumns[fields[i].Column.
Ordinal
];
307
_candidateColumns[depColumns[i].
Ordinal
] = new ColumnInfo();
346
ColumnInfo candidateColumn = _candidateColumns[_indexFields[i].Column.
Ordinal
];
369
ColumnInfo canColumn = _candidateColumns[_indexFields[i].Column.
Ordinal
];
406
ColumnInfo canColumn = _candidateColumns[_indexFields[i].Column.
Ordinal
];
434
ColumnInfo canColumn = _candidateColumns[fields[_matchedCandidates].Column.
Ordinal
];
483
ColumnInfo canColumn = _candidateColumns[fields[i].Column.
Ordinal
];
738
var candidateColumn = _candidateColumns[fields[i].Column.
Ordinal
];
System\Data\XmlDataLoader.cs (13)
731
foundColumns[c.
Ordinal
] = c.ConvertXmlToObject(GetInitialTextFromNodes(ref n));
755
if (foundColumns[c.
Ordinal
] == null)
806
if (c != null && foundColumns[c.
Ordinal
] == null)
810
foundColumns[c.
Ordinal
] = c.ConvertXmlToObject(textNodeValue);
912
foundColumns[c.
Ordinal
] = c.ConvertXmlToObject(_dataReader.Value);
952
foundColumns[c.
Ordinal
] = c.ConvertXmlToObject(_dataReader.Value);
983
if (foundColumns[c.
Ordinal
] == null)
1041
if (c != null && foundColumns[c.
Ordinal
] == null)
1045
foundColumns[c.
Ordinal
] = c.ConvertXmlToObject(textNodeValue);
1234
foundColumns[column.
Ordinal
] = columnValue; // Store value
1293
if (foundColumns[c.
Ordinal
] == null)
1348
foundColumns[column.
Ordinal
] = DBNull.Value;
1353
foundColumns[column.
Ordinal
] = column.ConvertXmlToObject(text);
System\Data\xmlsaver.cs (2)
1543
root.SetAttribute(Keywords.MSD_ORDINAL, Keywords.MSDNS, col.
Ordinal
.ToString(CultureInfo.InvariantCulture));
1887
sc.SetAttribute(Keywords.MSD_ORDINAL, Keywords.MSDNS, colTxt.
Ordinal
.ToString(CultureInfo.InvariantCulture));
System\Data\XMLSchema.cs (1)
1735
position = dc.
Ordinal
;
System\Xml\DataPointer.cs (1)
124
int iColumn = (col != null) ? col.
Ordinal
+ 1 : 0;
System\Xml\XmlDataDocument.cs (2)
777
if (((DataColumn)schema).
Ordinal
> col.
Ordinal
)
System\Xml\XPathNodePointer.cs (4)
548
int iColumn = (col != null) ? col.
Ordinal
+ 1 : 0;
569
int iColumn = (col != null) ? col.
Ordinal
- 1 : columns.Count - 1;
1154
else if (_column.
Ordinal
< other._column.
Ordinal
)