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