3 writes to addNewRow
System.Data (3)
fx\src\data\System\Data\DataView.cs (3)
619
addNewRow
= table.NewRow();
857
addNewRow
= null;
1341
addNewRow
= null;
27 references to addNewRow
System.Data (27)
fx\src\data\System\Data\DataRowView.cs (1)
241
return (_row == dataView.
addNewRow
);
fx\src\data\System\Data\DataView.cs (26)
301
return (((null != index) ? index.RecordCount : 0) + ((null !=
addNewRow
) ? 1 : 0));
613
if (
addNewRow
!= null) {
614
rowViewCache[
addNewRow
].EndEdit();
617
Debug.Assert(null ==
addNewRow
, "AddNew addNewRow is not null");
620
DataRowView drv = new DataRowView(this,
addNewRow
);
621
rowViewCache.Add(
addNewRow
, drv);
698
if (null !=
addNewRow
) {
699
array.SetValue(rowViewCache[
addNewRow
], index);
713
if (null !=
addNewRow
) {
714
array[index] = rowViewCache[
addNewRow
];
731
if (row ==
addNewRow
) {
836
Debug.Assert(null !=
addNewRow
, "null addNewRow");
839
DataRow newRow =
addNewRow
;
853
if (newRow ==
addNewRow
) {
855
bool flag = rowViewCache.Remove(
addNewRow
);
919
if (Object.ReferenceEquals(
addNewRow
, rowview.Row)) {
1267
return
addNewRow
.GetDefaultRecord();
1277
if ((index == (count - 1)) && (
addNewRow
!= null)) {
1280
return
addNewRow
;
1297
if (
addNewRow
!= null && index.RecordCount == 0) { // Microsoft : 83032 Clear the newly added row as the underlying index is reset.
1336
if (row ==
addNewRow
) {
1338
int index = IndexOfDataRowView(rowViewCache[
addNewRow
]);
1353
Debug.Assert(row !=
addNewRow
, "addNewRow being deleted");
1493
if (null !=
addNewRow
) {
1494
rowViewCache.TryGetValue(
addNewRow
, out drv);
1496
rvc.Add(
addNewRow
, drv);