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