2 writes to currentDataTable
System.Data (2)
fx\src\data\System\Data\DataTableReader.cs (2)
103
currentDataTable
= tables[tableCounter];
144
currentDataTable
= tables[++tableCounter];
29 references to currentDataTable
System.Data (29)
fx\src\data\System\Data\DataTableReader.cs (29)
95
return
currentDataTable
;
104
hasRows = (
currentDataTable
.Rows.Count > 0);
132
schemaTable = GetSchemaTableFromDataTable(
currentDataTable
);
147
listener.UpdataTable(
currentDataTable
); // it will unsubscribe from preveous tables events and subscribe to new table's events
158
hasRows = (
currentDataTable
.Rows.Count > 0);
186
if (rowCounter >=
currentDataTable
.Rows.Count -1 ) {
195
currentDataRow =
currentDataTable
.Rows[rowCounter];
199
if (rowCounter ==
currentDataTable
.Rows.Count) {
206
currentDataRow =
currentDataTable
.Rows[rowCounter];
249
throw ExceptionBuilder.InvalidDataTableReader(
currentDataTable
.TableName);
267
throw ExceptionBuilder.InvalidDataTableReader(
currentDataTable
.TableName);
277
return
currentDataTable
.Columns.Count;
454
return (
currentDataTable
.Columns[ordinal].DataType);
526
return (
currentDataTable
.Columns[ordinal].ColumnName);
537
DataColumn dc =
currentDataTable
.Columns[name];
543
throw ExceptionBuilder.ColumnNotInTheTable(name,
currentDataTable
.TableName);
738
throw ExceptionBuilder.InvalidDataTableReader(
currentDataTable
.TableName);
741
throw ExceptionBuilder.DataTableReaderSchemaIsInvalid(
currentDataTable
.TableName); // may be we can use better error message!
749
throw ExceptionBuilder.EmptyDataTableReader(
currentDataTable
.TableName);
752
if ((currentDataRow == null) || (
currentDataTable
== null) ) {//|| (currentDataRow != currentDataTable.Rows[rowCounter])) do we need thios check!
754
throw ExceptionBuilder.InvalidDataTableReader(
currentDataTable
.TableName);
760
if (0 > rowCounter ||
currentDataTable
.Rows.Count <= rowCounter) {
762
throw ExceptionBuilder.InvalidDataTableReader(
currentDataTable
.TableName);
771
throw ExceptionBuilder.InvalidDataTableReader(
currentDataTable
.TableName);
773
if (0 > rowPosition ||
currentDataTable
.Rows.Count <= rowPosition) {
775
throw ExceptionBuilder.InvalidDataTableReader(
currentDataTable
.TableName);
811
if (currentDataRow ==
currentDataTable
.Rows[rowCounter + 1]) { // check if we moved one position up
823
if (currentDataRow ==
currentDataTable
.Rows[rowCounter - 1]) { // one of previous rows is detached, collection size is changed!
831
currentDataRow =
currentDataTable
.Rows[rowCounter];