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