4 writes to currentDataRow
System.Data (4)
fx\src\data\System\Data\DataTableReader.cs (4)
195
currentDataRow
= currentDataTable.Rows[rowCounter];
206
currentDataRow
= currentDataTable.Rows[rowCounter];
831
currentDataRow
= currentDataTable.Rows[rowCounter];
835
currentDataRow
= null;
34 references to currentDataRow
System.Data (34)
fx\src\data\System\Data\DataTableReader.cs (34)
197
while (
currentDataRow
.RowState == DataRowState.Deleted) {
247
if ((
currentDataRow
== null) || (
currentDataRow
.RowState == DataRowState.Deleted)) {
252
return
currentDataRow
[ordinal];
265
if ((
currentDataRow
== null) || (
currentDataRow
.RowState == DataRowState.Deleted)) {
269
return
currentDataRow
[name];
303
return (bool)
currentDataRow
[ordinal];
315
return (byte)
currentDataRow
[ordinal];
328
tempBuffer = (byte[])
currentDataRow
[ordinal];
363
return (char)
currentDataRow
[ordinal];
376
tempBuffer = (char[])
currentDataRow
[ordinal];
418
return (DateTime)
currentDataRow
[ordinal];
430
return (Decimal)
currentDataRow
[ordinal];
442
return (double)
currentDataRow
[ordinal];
466
return (Single)
currentDataRow
[ordinal];
478
return (Guid)
currentDataRow
[ordinal];
490
return (Int16)
currentDataRow
[ordinal];
502
return (Int32)
currentDataRow
[ordinal];
514
return (Int64)
currentDataRow
[ordinal];
551
return (string)
currentDataRow
[ordinal];
564
return
currentDataRow
[ordinal];
579
Array.Copy(
currentDataRow
.ItemArray, values,
currentDataRow
.ItemArray.Length > values.Length ? values.Length :
currentDataRow
.ItemArray.Length);
580
return (
currentDataRow
.ItemArray.Length > values.Length ? values.Length :
currentDataRow
.ItemArray.Length);
586
return (
currentDataRow
.IsNull(ordinal));
752
if ((
currentDataRow
== null) || (currentDataTable == null) ) {//|| (currentDataRow != currentDataTable.Rows[rowCounter])) do we need thios check!
757
if ((
currentDataRow
.RowState == DataRowState.Deleted) || (
currentDataRow
.RowState == DataRowState.Detached) ||currentRowRemoved)
811
if (
currentDataRow
== currentDataTable.Rows[rowCounter + 1]) { // check if we moved one position up
819
if (args.Row !=
currentDataRow
) {
823
if (
currentDataRow
== currentDataTable.Rows[rowCounter - 1]) { // one of previous rows is detached, collection size is changed!