Base:
property
Count
System.Data.InternalDataCollectionBase.Count
68 references to Count
System.Data (66)
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
529
if (dataTable.Rows.
Count
== 1) {
fx\src\data\System\Data\Common\DbProviderFactories.cs (1)
177
for (int i = 0; (configDataTable != null) && (i < configDataTable.Rows.
Count
); i++)
fx\src\data\System\Data\Common\DBSchemaRow.cs (1)
28
int count = dataTable.Rows.
Count
;
fx\src\data\System\Data\DataColumn.cs (1)
1371
if ((0 <= maxLength) && (null != Table) && (0 < Table.Rows.
Count
)) {
fx\src\data\System\Data\DataColumnCollection.cs (1)
406
for (int i = 0; i < table.Rows.
Count
; i++) {
fx\src\data\System\Data\DataRow.cs (1)
214
int count = _table.Rows.
Count
, i = 0;
fx\src\data\System\Data\DataSet.cs (6)
1216
bytes += table.Rows.
Count
* rowBytes;
1268
bitMatrix[i] = new TableChanges(Tables[i].Rows.
Count
);
1286
Debug.Assert(bitMatrix[i].HasChanges <= table.Rows.
Count
, "to many changes");
1311
int rowCount = rows.
Count
;
1462
for (int j = 0; j < table.Rows.
Count
; j++) {
2204
if (table.Rows.
Count
> 0)
fx\src\data\System\Data\DataTable.cs (19)
627
int rowCount = Rows.
Count
;
804
Debug.Assert(Rows.
Count
> rowIndex);
830
Debug.Assert(Rows.
Count
> rowIndex);
1294
for (int i = 0; i < Rows.
Count
; i++) {
2116
DataRow[] oldRows = new DataRow[Rows.
Count
];
2625
bool shouldFireClearEvents = (this.Rows.
Count
!= 0); // if Rows is already empty, this is noop
2840
for (int i = 0; i < Rows.
Count
; i++) {
2846
if (dtChanges.Rows.
Count
== 0)
2867
for (int i = 0; i < Rows.
Count
; i++) {
2873
if (dtChanges.Rows.
Count
== 0)
2889
for (int i = 0; i < Rows.
Count
; i++) {
3584
DataRow[] oldRows = new DataRow[Rows.
Count
];
4141
initialLoad = (Rows.
Count
== 0);
5589
if (this.Rows.
Count
== 0) {
6207
for (int j = 0; j < Rows.
Count
; j++) {
6214
for (int j = 0; j < Rows.
Count
; j++)
6227
for (int j = 0; j < Rows.
Count
; j++)
6259
int count = column.table.Rows.
Count
;
6325
for (int j = 0; j < Rows.
Count
; j++) { //evaluate for all rows in the table
fx\src\data\System\Data\DataTableReader.cs (6)
104
hasRows = (currentDataTable.Rows.
Count
> 0);
158
hasRows = (currentDataTable.Rows.
Count
> 0);
186
if (rowCounter >= currentDataTable.Rows.
Count
-1 ) {
199
if (rowCounter == currentDataTable.Rows.
Count
) {
760
if (0 > rowCounter ||currentDataTable.Rows.
Count
<= rowCounter) {
773
if (0 > rowPosition ||currentDataTable.Rows.
Count
<= rowPosition) {
fx\src\data\System\Data\Filter\AggregateNode.cs (1)
159
rows = new DataRow[childTable.Rows.
Count
];
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
452
if (Table.DataSet.EnforceConstraints && Table.Rows.
Count
> 0) {
fx\src\data\System\Data\Merger.cs (3)
173
int rowsCount = src.Rows.
Count
;
174
bool wasEmpty = dst.Rows.
Count
== 0;
254
if(0 < dst.Rows.
Count
&& ndxSearch != null) {
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (2)
193
object[] getTypeInfoValues = new object[schemaTable.Rows.
Count
];
552
if (dataSourceInformationTable.Rows.
Count
!= 1){
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (2)
289
if (0 == table.Rows.
Count
) {
297
if (0 == table.Rows.
Count
) {
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
634
System.Collections.Generic.List<string> providerNames = new System.Collections.Generic.List<string>(table.Rows.
Count
);
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (1)
196
if (dataSourceInformationTable.Rows.
Count
!= 1){
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
323
if (dataSourceInfoTable.Rows.
Count
!= 1) {
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
653
bool addPrimaryKeys = (((0 == _dataTable.PrimaryKey.Length) && ((4 <= (int)_loadOption) || (0 == _dataTable.Rows.
Count
)))
fx\src\data\System\Data\RecordManager.cs (1)
152
freeRecordList.Capacity = freeRecordList.Count + table.Rows.
Count
;
fx\src\data\System\Data\Select.cs (2)
179
int rowsCount = this.table.Rows.
Count
;
224
int rowsCount = this.table.Rows.
Count
;
fx\src\data\System\Data\Selection.cs (1)
757
append = (table.Rows.IndexOf(row)+1 == table.Rows.
Count
);
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (1)
1338
string[] serverNames = new string[rows.
Count
];
fx\src\data\System\Data\SqlClient\SqlParameter.cs (2)
1271
if (schema.Rows.
Count
<= 0) {
1275
int fieldCount = schema.Rows.
Count
;
fx\src\data\System\Data\xmlsaver.cs (6)
2012
rows += ((DataTable)tables[i]).Rows.
Count
;
2018
rows = rc.
Count
;
2026
if (((DataTable)_tables[i]).Rows.
Count
> 0)
2086
int rowCount = table.Rows.
Count
;
2097
int rowCount = table.Rows.
Count
;
2471
if (_ds.TopLevelTables()[0].Rows.
Count
== 1)
fx\src\data\System\NewXml\XmlDataDocument.cs (3)
770
for (i = 0; i < row.Table.Rows.
Count
; i++)
776
for (i = pos + 1; i < row.Table.Rows.
Count
; i++) {
782
if (i < row.Table.Rows.
Count
)
System.Data.DataSetExtensions (1)
System\Data\TypedTableBaseExtensions.cs (1)
122
if ((index >= 0) && (index < source.Rows.
Count
))
System.Web (1)
UI\WebControls\ObjectDataSourceView.cs (1)
1163
arguments.TotalRowCount = dataTable.Rows.
Count
;