3 instantiations of DataRowView
System.Data.Common (3)
System\Data\DataView.cs (3)
553DataRowView drv = new DataRowView(this, _addNewRow); 1312_rowViewCache.Add(row, buffer ?? new DataRowView(this, row)); 1463drv = new DataRowView(this, row);
57 references to DataRowView
netstandard (1)
netstandard.cs (1)
505[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.DataRowView))]
PresentationFramework-SystemData (8)
SystemDataExtension.cs (8)
28return (item is DataRowView); 133DataRowView dataRowView = item as DataRowView; 163DataRowView dataRowView = (DataRowView)item; 175DataRowView drv; 177if ((drv = item as DataRowView) == null && 227public DataRowViewToRelatedViewLink(DataRowView dataRowView, object target)
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
75[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.DataRowView))]
System.Data.Common (47)
System\Data\DataColumnPropertyDescriptor.cs (9)
40public override Type ComponentType => typeof(DataRowView); 54DataRowView dataRowView = (DataRowView)component; 65DataRowView dataRowView = (DataRowView)component!; 71DataRowView dataRowView = (DataRowView)component; 77DataRowView dataRowView = (DataRowView)component!;
System\Data\DataRelationPropertyDescriptor.cs (3)
18public override Type ComponentType => typeof(DataRowView); 34DataRowView dataRowView = (DataRowView)component!;
System\Data\DataTablePropertyDescriptor.cs (1)
18public override Type ComponentType => typeof(DataRowView);
System\Data\DataView.cs (29)
74private Dictionary<DataRow, DataRowView> _rowViewCache = new Dictionary<DataRow, DataRowView>(DataRowReferenceComparer.s_default); 79private readonly Dictionary<DataRow, DataRowView> _rowViewBuffer = new Dictionary<DataRow, DataRowView>(DataRowReferenceComparer.s_default); 524public DataRowView this[int recordIndex] => GetRowView(GetRow(recordIndex)); 533public virtual DataRowView AddNew() 553DataRowView drv = new DataRowView(this, _addNewRow); 655private void CopyTo(DataRowView[] array, int index) 736public DataRowView[] FindRows(object? key) => FindRowsByKey(new object?[] { key }); 741public DataRowView[] FindRows(object?[] key) => FindRowsByKey(key); 744internal virtual DataRowView[] FindRowsByKey(object?[] key) 767internal DataRowView[] GetDataRowViewFromRange(Range range) 771return Array.Empty<DataRowView>(); 774var rows = new DataRowView[range.Count]; 827var temp = new DataRowView[Count]; 854bool IList.Contains(object? value) => (0 <= IndexOf(value as DataRowView)); 856int IList.IndexOf(object? value) => IndexOf(value as DataRowView); 858/// <summary>Return positional index of a <see cref="DataRowView"/> in this DataView</summary> 860internal int IndexOf(DataRowView? rowview) 870DataRowView? cached; // verify the DataRowView is one we currently track - not something previously detached 880private int IndexOfDataRowView(DataRowView rowview) 895int index = IndexOf(value as DataRowView); 1240private DataRowView GetRowView(int record) => GetRowView(_table!._recordManager[record]!); 1242private DataRowView GetRowView(DataRow dr) => _rowViewCache[dr]; 1287DataRowView? buffer = null; 1451Dictionary<DataRow, DataRowView> rvc = new Dictionary<DataRow, DataRowView>(CountFromIndex, DataRowReferenceComparer.s_default); 1452DataRowView? drv; 1717foreach (DataRowView drview in this)
System\Data\LinqDataView.cs (1)
185internal override DataRowView[] FindRowsByKey(object?[] key)
System\Data\RelatedView.cs (4)
13private readonly DataRowView? _parentRowView; 31public RelatedView(DataRowView parentRowView, DataKey parentKey, DataColumn[] childKeyColumns) : base(childKeyColumns[0].Table, false) 80public override DataRowView AddNew() 82DataRowView addNewRowView = base.AddNew();