Base:
property
Count
System.Data.InternalDataCollectionBase.Count
60 references to Count
Accessibility_Core_App (3)
DataBindingExample.cs (3)
73
if (dataSet.Tables[0].Rows.
Count
> 0)
75
for (int i = 0; i < dataSet.Tables[0].Rows.
Count
; i++)
91
int row_Count = dataSet.Tables[0].Rows.
Count
;
System.Data.Common (54)
System\Data\Common\DBCommandBuilder.cs (1)
592
if (dataTable.Rows.
Count
== 1)
System\Data\Common\DBSchemaRow.cs (1)
24
int count = dataTable.Rows.
Count
;
System\Data\DataColumn.cs (1)
1375
if ((0 <= _maxLength) && (null != Table) && (0 < Table.Rows.
Count
))
System\Data\DataColumnCollection.cs (1)
432
for (int i = 0; i < _table.Rows.
Count
; i++)
System\Data\DataRow.cs (1)
211
int count = _table.Rows.
Count
, i = 0;
System\Data\DataSet.cs (6)
1288
bytes += table.Rows.
Count
* rowBytes;
1341
bitMatrix[i] = new TableChanges(Tables[i].Rows.
Count
);
1362
Debug.Assert(bitMatrix[i].HasChanges <= table.Rows.
Count
, "to many changes");
1394
int rowCount = rows.
Count
;
1557
for (int j = 0; j < table.Rows.
Count
; j++)
2441
if (table.Rows.
Count
> 0)
System\Data\DataTable.cs (19)
693
int rowCount = Rows.
Count
;
899
Debug.Assert(Rows.
Count
> rowIndex);
930
Debug.Assert(Rows.
Count
> rowIndex);
1388
for (int i = 0; i < Rows.
Count
; i++)
2296
DataRow[] oldRows = new DataRow[Rows.
Count
];
2846
bool shouldFireClearEvents = (Rows.
Count
!= 0); // if Rows is already empty, this is noop
3100
for (int i = 0; i < Rows.
Count
; i++)
3109
if (dtChanges.Rows.
Count
== 0)
3133
for (int i = 0; i < Rows.
Count
; i++)
3142
if (dtChanges.Rows.
Count
== 0)
3162
for (int i = 0; i < Rows.
Count
; i++)
3975
DataRow[] oldRows = new DataRow[Rows.
Count
];
4612
_initialLoad = (Rows.
Count
== 0);
6312
if (Rows.
Count
== 0)
7016
for (int j = 0; j < Rows.
Count
; j++)
7025
for (int j = 0; j < Rows.
Count
; j++)
7038
for (int j = 0; j < Rows.
Count
; j++)
7078
int count = column._table.Rows.
Count
;
7167
for (int j = 0; j < Rows.
Count
; j++)
System\Data\DataTableReader.cs (6)
106
_hasRows = (_currentDataTable.Rows.
Count
> 0);
161
_hasRows = (_currentDataTable.Rows.
Count
> 0);
181
if (_rowCounter >= _currentDataTable.Rows.
Count
- 1)
195
if (_rowCounter == _currentDataTable.Rows.
Count
)
900
if (0 > _rowCounter || _currentDataTable.Rows.
Count
<= _rowCounter)
914
if (0 > rowPosition || _currentDataTable.Rows.
Count
<= rowPosition)
System\Data\Filter\AggregateNode.cs (1)
175
rows = new DataRow[_childTable.Rows.
Count
];
System\Data\ForeignKeyConstraint.cs (1)
499
if (Table.DataSet.EnforceConstraints && Table.Rows.
Count
> 0)
System\Data\Merger.cs (3)
195
int rowsCount = src.Rows.
Count
;
196
bool wasEmpty = dst.Rows.
Count
== 0;
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 (1)
796
append = (_table.Rows.IndexOf(row) + 1 == _table.Rows.
Count
);
System\Data\TypedTableBaseExtensions.cs (1)
97
if ((index >= 0) && (index < source.Rows.
Count
))
System\Data\xmlsaver.cs (6)
2323
rows += ((DataTable)tables[i]!).Rows.
Count
;
2330
rows = rc.
Count
;
2340
if (((DataTable)_tables[i]!).Rows.
Count
> 0)
2418
int rowCount = table.Rows.
Count
;
2430
int rowCount = table.Rows.
Count
;
2860
if (_ds.TopLevelTables()[0].Rows.
Count
== 1)
System\Xml\XmlDataDocument.cs (3)
854
for (i = 0; i < row.Table.Rows.
Count
; i++)
860
for (i = pos + 1; i < row.Table.Rows.
Count
; i++)
867
if (i < row.Table.Rows.
Count
)
System.Data.Odbc (3)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
324
if (dataSourceInfoTable.Rows.
Count
!= 1)
System\Data\Odbc\OdbcMetaDataFactory.cs (2)
196
object[] getTypeInfoValues = new object[schemaTable.Rows.
Count
];
578
if (dataSourceInformationTable.Rows.
Count
!= 1)