159 references to Rows
System.Data.Common (138)
System\Data\Common\AdapterUtil.Common.cs (1)
713
DataRowCollection rowCollection = dataTable.
Rows
;
System\Data\Common\DBCommandBuilder.cs (4)
592
if (dataTable.
Rows
.Count == 1)
594
_parameterNamePattern = dataTable.
Rows
[0][DbMetaDataColumnNames.ParameterNamePattern] as string;
595
_parameterMarkerFormat = dataTable.
Rows
[0][DbMetaDataColumnNames.ParameterMarkerFormat] as string;
597
object oParameterNameMaxLength = dataTable.
Rows
[0][DbMetaDataColumnNames.ParameterNameMaxLength];
System\Data\Common\DbDataReaderExtensions.cs (1)
78
foreach (DataRow row in schemaTable.
Rows
)
System\Data\Common\DBSchemaRow.cs (2)
24
int count = dataTable.
Rows
.Count;
27
dataTable.
Rows
[i][sortindex] = i;
System\Data\DataColumn.cs (4)
1374
if ((0 <= _maxLength) && (null != Table) && (0 < Table.
Rows
.Count))
1377
foreach (DataRow dr in Table.
Rows
)
1422
foreach (DataRow dr in _table!.
Rows
)
1683
foreach (DataRow dr in Table!.
Rows
)
System\Data\DataColumnCollection.cs (2)
432
for (int i = 0; i < _table.
Rows
.Count; i++)
434
_table.
Rows
[i].ClearError(column);
System\Data\DataRelation.cs (2)
512
foreach (DataRow row in ChildTable.
Rows
)
525
foreach (DataRow row in ChildTable.
Rows
)
System\Data\DataRow.cs (1)
211
int count = _table.
Rows
.Count, i = 0;
System\Data\DataSet.cs (13)
1250
foreach (DataRow row in table.
Rows
)
1278
bytes += table.
Rows
.Count * rowBytes;
1331
bitMatrix[i] = new TableChanges(Tables[i].
Rows
.Count);
1352
Debug.Assert(bitMatrix[i].HasChanges <= table.
Rows
.Count, "to many changes");
1359
DataTable.CopyRow(destTable, table.
Rows
[j]);
1383
DataRowCollection rows = Tables[tableIndex].
Rows
;
1421
int relatedRowIndex = relatedRow.Table.
Rows
.IndexOf(relatedRow);
1543
for (int j = 0; j < table.
Rows
.Count; j++)
1545
DataRow row = table.
Rows
[j];
2399
if (table.
Rows
.Count > 0)
2431
t.
Rows
._nullInList = 0;
2492
if (t.
Rows
._nullInList > 0)
2508
foreach (DataRow r in t.
Rows
)
System\Data\DataTable.cs (49)
688
int rowCount =
Rows
.Count;
697
DataRow row =
Rows
[i];
752
int recordsPerRow =
Rows
[i].CopyValuesIntoStore(storeList, nullbitList, recordsConsumed);
845
Rows
.ArrayAdd(row);
894
Debug.Assert(
Rows
.Count > rowIndex);
898
DataRow row =
Rows
[rowIndex];
925
Debug.Assert(
Rows
.Count > rowIndex);
929
DataRow row =
Rows
[rowIndex];
1383
for (int i = 0; i <
Rows
.Count; i++)
1385
if (
Rows
[i].HasErrors)
2291
DataRow[] oldRows = new DataRow[
Rows
.Count];
2292
Rows
.CopyTo(oldRows, 0);
2521
foreach (DataRow row in
Rows
)
2841
bool shouldFireClearEvents = (
Rows
.Count != 0); // if Rows is already empty, this is noop
2862
foreach (DataRow row in
Rows
)
2870
Rows
.ArrayClear();
3095
for (int i = 0; i <
Rows
.Count; i++)
3097
row =
Rows
[i];
3104
if (dtChanges.
Rows
.Count == 0)
3128
for (int i = 0; i <
Rows
.Count; i++)
3130
row =
Rows
[i];
3137
if (dtChanges.
Rows
.Count == 0)
3157
for (int i = 0; i <
Rows
.Count; i++)
3159
DataRow row =
Rows
[i];
3340
Rows
.ArrayAdd(row);
3970
DataRow[] oldRows = new DataRow[
Rows
.Count];
3971
Rows
.CopyTo(oldRows, 0);
4019
Rows
.ArrayRemove(row);
4337
Rows
.ArrayAdd(row);
4341
Rows
.ArrayInsert(row, position);
4607
_initialLoad = (
Rows
.Count == 0);
4811
Rows
.Add(row2);
4815
return
Rows
.Add(values);
6276
if (
Rows
.Count == 0)
6288
newDt.
Rows
._nullInList = 0;
6340
if (newDt.
Rows
._nullInList > 0)
6358
foreach (DataRow r in tableList[i].
Rows
)
6910
foreach (DataRow row in
Rows
)
6957
for (int j = 0; j <
Rows
.Count; j++)
6959
DataRow tableRow =
Rows
[j];
6966
for (int j = 0; j <
Rows
.Count; j++)
6968
DataRow tableRow =
Rows
[j];
6979
for (int j = 0; j <
Rows
.Count; j++)
6981
DataRow tableRow =
Rows
[j];
7019
int count = column._table.
Rows
.Count;
7026
DataRow row = column._table.
Rows
[j];
7046
DataRow row = column._table.
Rows
[j];
7108
for (int j = 0; j <
Rows
.Count; j++)
7111
DataRow dr =
Rows
[j];
System\Data\DataTableReader.cs (13)
106
_hasRows = (_currentDataTable.
Rows
.Count > 0);
161
_hasRows = (_currentDataTable.
Rows
.Count > 0);
181
if (_rowCounter >= _currentDataTable.
Rows
.Count - 1)
190
_currentDataRow = _currentDataTable.
Rows
[_rowCounter];
195
if (_rowCounter == _currentDataTable.
Rows
.Count)
202
_currentDataRow = _currentDataTable.
Rows
[_rowCounter];
844
tempSchemaTable.
Rows
.Add(dr);
849
tempSchemaTable.
Rows
[key.Ordinal][IsKeyColumn] = true;
900
if (0 > _rowCounter || _currentDataTable.
Rows
.Count <= _rowCounter)
914
if (0 > rowPosition || _currentDataTable.
Rows
.Count <= rowPosition)
952
if (_currentDataRow == _currentDataTable.
Rows
[_rowCounter + 1])
968
if (_currentDataRow == _currentDataTable.
Rows
[_rowCounter - 1])
981
_currentDataRow = _currentDataTable.
Rows
[_rowCounter];
System\Data\DataView.cs (2)
795
_table!.
Rows
.Add(newRow);
1727
dt.
Rows
.Add(o);
System\Data\EnumerableRowCollection.cs (1)
93
_enumerableRows = table.
Rows
.Cast<TRow>();
System\Data\Filter\AggregateNode.cs (2)
175
rows = new DataRow[_childTable.
Rows
.Count];
176
_childTable.
Rows
.CopyTo(rows, 0);
System\Data\ForeignKeyConstraint.cs (1)
499
if (Table.DataSet.EnforceConstraints && Table.
Rows
.Count > 0)
System\Data\Merger.cs (4)
195
int rowsCount = src.
Rows
.Count;
196
bool wasEmpty = dst.
Rows
.Count == 0;
214
foreach (DataRow sourceRow in src.
Rows
)
295
if (0 < dst!.
Rows
.Count && ndxSearch != null)
System\Data\ProviderBase\SchemaMapping.cs (1)
780
bool addPrimaryKeys = (((0 == _dataTable.PrimaryKey.Length) && ((4 <= (int)_loadOption) || (0 == _dataTable.
Rows
.Count)))
System\Data\RecordManager.cs (1)
169
_freeRecordList.Capacity = _freeRecordList.Count + _table.
Rows
.Count;
System\Data\Selection.cs (5)
331
return _table.
Rows
.IndexOf(row1).CompareTo(_table.
Rows
.IndexOf(row2));
728
foreach (DataRow b in _table.
Rows
)
796
append = (_table.
Rows
.IndexOf(row) + 1 == _table.
Rows
.Count);
System\Data\TypedTableBase.cs (1)
47
return
Rows
.Cast<T>().GetEnumerator();
System\Data\TypedTableBaseExtensions.cs (2)
97
if ((index >= 0) && (index < source.
Rows
.Count))
99
return (TRow)source.
Rows
[index];
System\Data\XmlDataLoader.cs (5)
112
r.Table.
Rows
.Add(r);
346
topTable.
Rows
.Add(topRow);
835
row = table.
Rows
.AddWithColumnEvents(foundColumns); // Create, populate and add row
1071
table.
Rows
.DiffInsertAt(row, rowOrder); // insert data to specific location
1102
row = table.
Rows
.AddWithColumnEvents(foundColumns); // Create, populate and add row
System\Data\XMLDiffLoader.cs (2)
114
tableBefore.
Rows
.DiffInsertAt(row, pos);
167
tableBefore.
Rows
.DiffInsertAt(row, pos);
System\Data\xmlsaver.cs (10)
2313
rows += ((DataTable)tables[i]!).
Rows
.Count;
2319
DataRowCollection rc = dt.
Rows
;
2330
if (((DataTable)_tables[i]!).
Rows
.Count > 0)
2405
int rowCount = table.
Rows
.Count;
2411
GenerateRow(table.
Rows
[rowNum]);
2417
int rowCount = table.
Rows
.Count;
2427
DataRow row = table.
Rows
[rowNum];
2807
foreach (DataRow row in tempTable.
Rows
)
2843
if (_ds.TopLevelTables()[0].
Rows
.Count == 1)
2885
foreach (DataRow row in ((DataTable)_dTables[i]!).
Rows
)
System\Xml\XmlDataDocument.cs (9)
136
r.Table.
Rows
.Add(r);
176
r.Table.
Rows
.Add(r);
875
for (i = 0; i < row.Table.
Rows
.Count; i++)
876
if (row == row.Table.
Rows
[i])
881
for (i = pos + 1; i < row.Table.
Rows
.Count; i++)
883
refRow = row.Table.
Rows
[i];
888
if (i < row.Table.
Rows
.Count)
1262
foreach (DataRow r in t.
Rows
)
2803
row.Table.
Rows
.Add(row);
System.Data.Odbc (21)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (8)
75
foreach (DataRow row in sourceTable.
Rows
)
84
destinationTable.
Rows
.Add(newRow);
172
foreach (DataRow row in schemaTable.
Rows
)
180
resultTable.
Rows
.Add(values);
250
foreach (DataRow row in metaDataCollectionsTable.
Rows
)
324
if (dataSourceInfoTable.
Rows
.Count != 1)
329
DataRow dataSourceInfoRow = dataSourceInfoTable.
Rows
[0];
367
foreach (DataRow restriction in restrictionsTable!.
Rows
)
System\Data\Odbc\OdbcDataReader.cs (1)
2299
schematable.
Rows
.Add(row);
System\Data\Odbc\OdbcMetaDataFactory.cs (12)
84
foreach (DataRow collection in metaDataCollectionsTable.
Rows
)
111
foreach (DataRow restriction in restrictionsTable.
Rows
)
177
resultTable.
Rows
.Add(values);
196
object[] getTypeInfoValues = new object[schemaTable.
Rows
.Count];
424
dataTypesTable.
Rows
.Add(dataTypesRow);
446
resultTable.
Rows
.Add(values);
469
resultTable.
Rows
.Add(values);
494
resultTable.
Rows
.Add(values);
578
if (dataSourceInformationTable.
Rows
.Count != 1)
582
DataRow dataSourceInformation = dataSourceInformationTable.
Rows
[0];
995
reservedWordsTable.
Rows
.Add(row);
1069
foreach (DataRow row in schemaTable.
Rows
)