Base:
property
Count
System.Data.InternalDataCollectionBase.Count
57 references to 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)
1374if ((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)
1278bytes += table.Rows.Count * rowBytes; 1331bitMatrix[i] = new TableChanges(Tables[i].Rows.Count); 1352Debug.Assert(bitMatrix[i].HasChanges <= table.Rows.Count, "to many changes"); 1384int rowCount = rows.Count; 1543for (int j = 0; j < table.Rows.Count; j++) 2399if (table.Rows.Count > 0)
System\Data\DataTable.cs (19)
688int rowCount = Rows.Count; 894Debug.Assert(Rows.Count > rowIndex); 925Debug.Assert(Rows.Count > rowIndex); 1383for (int i = 0; i < Rows.Count; i++) 2291DataRow[] oldRows = new DataRow[Rows.Count]; 2841bool shouldFireClearEvents = (Rows.Count != 0); // if Rows is already empty, this is noop 3095for (int i = 0; i < Rows.Count; i++) 3104if (dtChanges.Rows.Count == 0) 3128for (int i = 0; i < Rows.Count; i++) 3137if (dtChanges.Rows.Count == 0) 3157for (int i = 0; i < Rows.Count; i++) 3970DataRow[] oldRows = new DataRow[Rows.Count]; 4607_initialLoad = (Rows.Count == 0); 6276if (Rows.Count == 0) 6957for (int j = 0; j < Rows.Count; j++) 6966for (int j = 0; j < Rows.Count; j++) 6979for (int j = 0; j < Rows.Count; j++) 7019int count = column._table.Rows.Count; 7108for (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)
2313rows += ((DataTable)tables[i]!).Rows.Count; 2320rows = rc.Count; 2330if (((DataTable)_tables[i]!).Rows.Count > 0) 2405int rowCount = table.Rows.Count; 2417int rowCount = table.Rows.Count; 2843if (_ds.TopLevelTables()[0].Rows.Count == 1)
System\Xml\XmlDataDocument.cs (3)
875for (i = 0; i < row.Table.Rows.Count; i++) 881for (i = pos + 1; i < row.Table.Rows.Count; i++) 888if (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)