9 references to GetIndex
System.Data.Common (9)
System\Data\DataTable.cs (1)
3877int index = _indexes[indexCount].GetIndex(recordNo);
System\Data\DataView.cs (2)
885return _index!.GetIndex(rowview.Row.GetRecordFromVersion(rowview.Row.GetDefaultRowVersion(RowStateFilter) & ~DataRowVersion.Proposed)); 1019return _index!.GetIndex(findIndex.GetRecord(recordRange.Min));
System\Data\Selection.cs (6)
290DeleteRecord(GetIndex(record)); 892int index = GetIndex(record); 957oldRecordIndex = GetIndex(oldRecord); 964int commonIndexLocation = GetIndex(newRecord); 981int newRecordIndex = GetIndex(newRecord); 991OnListChanged(ListChangedType.ItemAdded, GetIndex(newRecord)); // oldLocation would be -1