26 references to IndexOf
System.Data (26)
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
105
int index = columns.
IndexOf
(dataSetColumn);
fx\src\data\System\Data\Common\DBSchemaTable.cs (2)
113
int index = columns.
IndexOf
(DBCOLUMN_NAME[(int) column]);
115
index = columns.
IndexOf
(DBCOLUMN_NAME[(int) column2]);
fx\src\data\System\Data\ForeignKeyConstraint.cs (4)
643
iDest = table.Columns.
IndexOf
(src.ColumnName);
649
iDest = relatedTable.Columns.
IndexOf
(src.ColumnName);
678
iDest = destination.Columns.
IndexOf
(src.ColumnName);
684
iDest = destination.Columns.
IndexOf
(src.ColumnName);
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (7)
185
int index = columns.
IndexOf
(ODB.PARAMETER_NAME);
188
index = columns.
IndexOf
(ODB.PARAMETER_TYPE);
191
index = columns.
IndexOf
(ODB.DATA_TYPE);
194
index = columns.
IndexOf
(ODB.CHARACTER_MAXIMUM_LENGTH);
197
index = columns.
IndexOf
(ODB.NUMERIC_PRECISION);
200
index = columns.
IndexOf
(ODB.NUMERIC_SCALE);
203
index = columns.
IndexOf
(ODB.TYPE_NAME); // MDAC 72315
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (6)
1858
int nameColumnIndex = dataColumns.
IndexOf
(ODB.COLUMN_NAME);
1910
int indxIndex = dataColumns.
IndexOf
(ODB.INDEX_NAME);
1911
int pkeyIndex = dataColumns.
IndexOf
(ODB.PRIMARY_KEY);
1912
int uniqIndex = dataColumns.
IndexOf
(ODB.UNIQUE);
1913
int nameIndex = dataColumns.
IndexOf
(ODB.COLUMN_NAME);
1914
int nullIndex = dataColumns.
IndexOf
(ODB.NULLS);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
1893
index = ((DataTable)_rowSource).Columns.
IndexOf
(unquotedColumnName);
1896
index = ((DataRow[])_rowSource)[0].Table.Columns.
IndexOf
(unquotedColumnName);
fx\src\data\System\Data\UniqueConstraint.cs (2)
275
iDest = table.Columns.
IndexOf
(src.ColumnName);
297
int iDest = table.Columns.
IndexOf
(src.ColumnName);
fx\src\data\System\Data\XMLSchema.cs (2)
98
if (table.Columns.
IndexOf
(proposedName) >= 0) {
101
if (table.Columns.
IndexOf
(tempName) >= 0) {