5 references to IndexOf
System.Data (5)
fx\src\data\System\Data\DataSet.cs (3)
452parentInfo[0] = Tables.IndexOf(rel.ParentTable); 458childInfo[0] = Tables.IndexOf(rel.ChildTable); 1341int relatedTableIndex = this.Tables.IndexOf(relatedRow.Table);
fx\src\data\System\Data\DataTable.cs (2)
512parentInfo[0] = allConstraints ? this.DataSet.Tables.IndexOf(fk.RelatedTable) : 0; 518childInfo[0] = allConstraints ? this.DataSet.Tables.IndexOf(fk.Table) : 0 ; //Since the constraint is on the current table, this is the child table.