Implemented interface member:
property
Count
System.Collections.ICollection.Count
1 override of Count
System.Data (1)
fx\src\data\System\Data\DataRowCollection.cs (1)
41
public override int
Count
{
244 references to Count
System.Data (223)
fx\src\data\System\Data\CodeGen\datacache.cs (19)
225
for (int i = 0; i < relations.
Count
; i++) {
282
if (relation.ChildTable.Columns.
Count
== 1) {
323
for (int i = 0; i < table.Columns.
Count
; i++) {
399
for (int i = 0; i < table.Columns.
Count
; i++) {
436
for (int i = 0; i < table.Columns.
Count
; i++) {
465
index = new DataColumn[table.Columns.
Count
];
493
for (int j = 0; j < table.Constraints.
Count
; j++) {
568
for (int i = 0; i < table.Columns.
Count
; i++) {
594
for (int i = 0; i < table.Constraints.
Count
; i++) {
617
for (int i = 0; i < table.Columns.
Count
; i++) {
917
for (int i = 0; i < ChildRelations.
Count
; i++) {
931
for (int i = 0; i < ParentRelations.
Count
; i++) {
1021
for (int i = 0; i < dataSet.Tables.
Count
; i++) {
1025
for (int i = 0; i < dataSet.Relations.
Count
; i++) {
1068
for (int i = 0; i < dataSet.Tables.
Count
; i++) {
1143
for (int i = 0; i < dataSet.Tables.
Count
; i++) {
1227
for (int i = 0; i < dataSet.Tables.
Count
; i++) {
1357
for (int i = 0; i < dataSet.Tables.
Count
; i++) {
1393
for (int i = 0; i < table.Columns.
Count
; i++) {
fx\src\data\System\Data\Common\DataColumnMapping.cs (1)
106
if ((0 <= index) && (index < columns.
Count
)) {
fx\src\data\System\Data\Common\DataTableMapping.cs (1)
148
if ((0 <= index) && (index < tables.
Count
)) {
fx\src\data\System\Data\ConstraintCollection.cs (5)
351
for (int i = 0; i < Table.ChildRelations.
Count
; i++) {
359
for (int i = 0; i < Table.ParentRelations.
Count
; i++) {
387
for (int i = 0; i < table.ParentRelations.
Count
; i++) {
390
for (int i = 0; i < table.ChildRelations.
Count
; i++) {
533
int count =
Count
;
fx\src\data\System\Data\DataColumn.cs (4)
757
for (int i = 0; i < table.Constraints.
Count
; i++) {
1520
DataRelation[] parentRelations = new DataRelation[Table.ParentRelations.
Count
];
1605
for (int i = 0; i < rels.
Count
; i++) {
1614
for (int i = 0; i < rels.
Count
; i++) {
fx\src\data\System\Data\DataColumnCollection.cs (6)
448
for (int i = 0; i < table.ParentRelations.
Count
; i++) {
456
for (int i = 0; i < table.ChildRelations.
Count
; i++) {
464
for (int i = 0; i < table.Constraints.
Count
; i++) {
634
int count =
Count
;
654
for (int i = 0; i <
Count
; i++) {
696
if (0 > newPosition || newPosition >
Count
-1) {
fx\src\data\System\Data\DataError.cs (1)
130
int newCapacity = Math.Min(count*2, column.Table.Columns.
Count
);
fx\src\data\System\Data\DataRelationCollection.cs (2)
249
int count =
Count
;
374
int relationCount =
Count
;
fx\src\data\System\Data\DataRow.cs (5)
390
object[] values = new object[_columns.
Count
];
402
if (_columns.
Count
< value.Length) {
1273
for (int i = 0; i < _columns.
Count
; i++) {
1282
for (int i = 0; i < _columns.
Count
; i++) {
1290
for (int i = 0; i < _columns.
Count
; i++) {
fx\src\data\System\Data\DataSet.cs (42)
133
for (int i = 0; i < Tables.
Count
; i++) {
291
info.AddValue("DataSet.Tables.Count", Tables.
Count
);
294
for (int i = 0; i < Tables.
Count
; i++) {
303
for (int i = 0; i < Tables.
Count
; i++) {
311
for (int i = 0; i < Tables.
Count
; i++) {
320
for (int i = 0; i < Tables.
Count
; i++) {
396
for (int i = 0; i < Tables.
Count
; i++) {
753
for (int i = 0; i < Tables.
Count
; i++) {
888
for (int i = 0; i < Tables.
Count
; i++) {
990
for (int i = 0; i < Tables.
Count
; i++)
1061
for (int i = 0; i < Tables.
Count
; i++) {
1065
for (int i = 0; i < Tables.
Count
; i++) {
1086
for (int i = 0; i < Tables.
Count
; i++)
1107
if (ds.Tables.
Count
> 0) // Microsoft : To clean up all the schema in strong typed dataset.
1124
for (int i = 0; i < tbls.
Count
; i++) {
1132
for (int i = 0; i < tbls.
Count
; i++) {
1134
for (int j = 0; j < constraints.
Count
; j++) {
1146
for (int i = 0; i < rels.
Count
; i++) {
1165
for (int i = 0; i < tbls.
Count
; i++) {
1209
for (int i = 0; i < Tables.
Count
; i++) {
1212
for (int j = 0; j < table.Columns.
Count
; j++) {
1266
TableChanges[] bitMatrix = new TableChanges[Tables.
Count
];
1336
int relationCount = relations.
Count
;
1459
for (int i = 0; i < Tables.
Count
; i++) {
1914
if (Tables.
Count
== 0) {
2021
if (!fSchemaFound && Tables.
Count
== 0) {
2043
if (!fSchemaFound && Tables.
Count
== 0 && !topNode.HasChildNodes) { //We shoule not come add SC of root elemnt to topNode if we are not infering
2087
if (!fSchemaFound && Tables.
Count
== 0) {
2958
for (int i = 0; i < Tables.
Count
; i++)
2965
for (int i = 0; i < Tables.
Count
; i++)
2989
for (int i = 0; i < Tables.
Count
; i++)
3008
for (int i = 0; i < Tables.
Count
; i++) {
3010
for (int j = 0; j < cons.
Count
; ) {
3034
for (int i = 0; i < Relations.
Count
; i++) {
3042
for (int i = 0; i < Tables.
Count
; i++) {
3044
for (int j = 0; j < constraints.
Count
; j++) {
3064
for (int i = 0; i < Relations.
Count
; i++) {
3072
for (int i = 0; i < Tables.
Count
; i++) {
3074
for (int j = 0; j < constraints.
Count
; j++) {
3439
if (Tables.
Count
== 0)
3442
DataTable[] dataTables = new DataTable[Tables.
Count
];
3443
for (int i = 0; i < Tables.
Count
; i++) {
fx\src\data\System\Data\DataTable.cs (44)
300
Debug.Assert(ds.Tables.
Count
== 1, "There should be exactly 1 table here");
338
info.AddValue("DataTable.Columns.Count", Columns.
Count
);
349
for (int i = 0; i < Columns.
Count
; i++) {
420
Debug.Assert(Columns.
Count
== 0, "There is column in Table");
487
for (int i = 0; i < Constraints.
Count
; i++) {
606
int colCount = Columns.
Count
;
614
int colCount = Columns.
Count
;
626
int colCount = Columns.
Count
;
726
for (int i = 0; i < Columns.
Count
; i++) {
1135
for (int i = 0; i < cols.
Count
; i++)
2153
if (clone.Columns.
Count
> 0) // Microsoft : To clean up all the schema in strong typed dataset.
2182
if ((destinationTable != null && destinationTable.Columns.
Count
> 0)) {
2236
for (int i = 0; i < clmns.
Count
; i++) {
2242
for (int i = 0; i < clmns.
Count
; i++) {
2259
for (int j = 0; j < Constraints.
Count
; j++) {
2284
for (int j = 0; j < Constraints.
Count
; j++) {
2499
for (int i = 0; i < Columns.
Count
; i++) {
2586
int columnCount = columnCollection.
Count
;
3081
int colCount = columnCollection.
Count
; // Perf: use the readonly columnCollection field directly
3112
int count = columnCollection.
Count
;
3640
int count = dr.
Count
;
3647
count = dr.
Count
;
3763
int columnCount = columnCollection.
Count
;
3771
int constraintCount = constraintCollection.
Count
;
3910
for (int j = 0; j < ParentRelations.
Count
; j++) {
3918
for (int j = 0; j < ChildRelations.
Count
; j++) {
4353
for(int i = Columns.
Count
-1; i >= position; i--) {
4396
int columnsCount = Columns.
Count
;
4397
int relationsCount = ChildRelations.
Count
;
4523
for(int count = values.Length; count < columnCollection.
Count
; count++) {
5155
if (Columns.
Count
== 0) {
5166
if (Columns.
Count
== 0) {
5274
if (!fSchemaFound && Columns.
Count
== 0) {
5296
if (!fSchemaFound && Columns.
Count
== 0) {
5358
if (Columns.
Count
== 0) {
5376
if (Columns.
Count
== 0) {
5475
if (Columns.
Count
== 0) {
5514
if (Columns.
Count
== 0) {
5540
if (Columns.
Count
== 0) {
5779
if (this.Columns.
Count
== 0) {
6092
for (int tableIndex = 0; tableIndex < ds.Tables.
Count
; ++tableIndex)
6114
for (int tableIndex = 0; tableIndex < _targetDS.Tables.
Count
; ++tableIndex)
6375
for (int j = 0; j < ParentRelations.
Count
; j++) {
6392
for (int j = 0; j < ChildRelations.
Count
; j++) {
fx\src\data\System\Data\DataTableCollection.cs (2)
389
if (table.ChildRelations.
Count
!= 0 || table.ParentRelations.
Count
!= 0) {
fx\src\data\System\Data\DataTableReader.cs (1)
277
return currentDataTable.Columns.
Count
;
fx\src\data\System\Data\DataView.cs (1)
1694
columnNames = new string[Table.Columns.
Count
];
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
131
int tableCount = dataSet.Tables.
Count
;
fx\src\data\System\Data\DataViewSettingCollection.cs (1)
117
return (ds == null) ? 0 : ds.Tables.
Count
;
fx\src\data\System\Data\Filter\AggregateNode.cs (2)
89
if (relations.
Count
> 1) {
92
if (relations.
Count
== 1) {
fx\src\data\System\Data\Filter\LookupNode.cs (1)
44
if (relations.
Count
> 1) {
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
812
for (int i = 0; i < rels.
Count
; i++) {
fx\src\data\System\Data\Merger.cs (7)
69
for (int i = 0; i < source.Tables.
Count
; i++) {
79
for (int i = 0; i < source.Relations.
Count
; i++) {
300
int oldCount = targetTable.Columns.
Count
;
301
for (int i = 0; i < table.Columns.
Count
; i++) {
333
for (int i = oldCount; i < targetTable.Columns.
Count
; i++) {
387
for (int i = 0; i < source.Tables.
Count
; i ++) {
394
for (int i = 0; i < table.Constraints.
Count
; i++) {
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (1)
1027
values = new object[resultTable.Columns.
Count
];
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
410
int count = columns.
Count
;
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (2)
100
for(int i = 0; i < destinationColumns.
Count
; i++) {
192
object[] values = new object[resultTable.Columns.
Count
];
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (5)
492
bool alwaysCreateColumns = ((_dataTable.Columns.
Count
== 0) && ((_tableMapping.ColumnMappings == null) || (_tableMapping.ColumnMappings.Count == 0)) && (mappingAction == MissingMappingAction.Passthrough));
654
|| (0 == _dataTable.Columns.
Count
)); // MDAC 67033
928
int constraintCount = constraints.
Count
;
1051
int mappingCount = columnCollection.
Count
;
1070
_mappedDataValues = new object[columnCollection.
Count
];
fx\src\data\System\Data\RecordManager.cs (4)
69
for (int i = 0; i < table.Columns.
Count
; i++) {
117
int count = table.columnCollection.
Count
;
139
int count = table.columnCollection.
Count
;
200
int count = table.Columns.
Count
;
fx\src\data\System\Data\Select.cs (1)
252
candidateColumns = new ColumnInfo[this.table.Columns.
Count
];
fx\src\data\System\Data\Selection.cs (1)
105
IndexField[] fields = new IndexField[columns.
Count
];
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (4)
1548
WriteRowSourceToServerAsync(table.Columns.
Count
, CancellationToken.None); //It returns null since _isAsyncBulkCopy = false;
1585
WriteRowSourceToServerAsync(table.Columns.
Count
, CancellationToken.None); //It returns null since _isAsyncBulkCopy = false;
1634
resultTask = WriteRowSourceToServerAsync(table.Columns.
Count
, cancellationToken); //It returns Task since _isAsyncBulkCopy = true;
1737
resultTask = WriteRowSourceToServerAsync(table.Columns.
Count
, cancellationToken); //It returns Task since _isAsyncBulkCopy = true;
fx\src\data\System\Data\SqlClient\SqlParameter.cs (4)
1097
if (dt.Columns.
Count
<= 0) {
1100
fields = new List<MSS.SmiExtendedMetaData>(dt.Columns.
Count
);
1101
bool[] keyCols = new bool[dt.Columns.
Count
];
1113
for(int i=0; i<dt.Columns.
Count
; i++) {
fx\src\data\System\Data\XDRSchema.cs (1)
589
for (int j = 0; j < childRelations.
Count
; j++) {
fx\src\data\System\Data\XmlDataLoader.cs (4)
189
int cCols = columns.
Count
;
507
foundColumns = new bool[topMostRow.Table.Columns.
Count
];
682
object[] foundColumns = new object[collection.
Count
];
835
object[] foundColumns = new object[collection.
Count
];
fx\src\data\System\Data\xmlsaver.cs (19)
308
for(int t = 0; t < ds.Tables.
Count
; t ++) {
313
for(int c = 0; c < table.Columns.
Count
; c ++) {
320
for(int r = 0; r < ds.Relations.
Count
; r ++) {
438
if (table.ParentRelations.
Count
== 0)
442
for (int j = 0; j < table.ParentRelations.
Count
; j++) {
656
rels = new DataRelation[ds.Relations.
Count
];
657
for (int i = 0 ; i < ds.Relations.
Count
; i++) {
1528
int cCount = columns.
Count
;
1537
for (int j = 0; j < childRelations.
Count
; j++) {
1647
for (int j = 0; j < childRelations.
Count
; j++) {
1713
for (int i = 0; i < constraints.
Count
; i++) {
1977
for (int i = 0; i < ds.Tables.
Count
; i++) {
2053
for (int i = 0; i < _ds.Tables.
Count
; ++i) {
2067
for (int i = 0; i < _ds.Tables.
Count
; ++i) {
2098
int colCount = table.Columns.
Count
;
2165
int colCount = table.Columns.
Count
;
2367
if (table.ParentRelations.
Count
== 0)
2371
for (int j = 0; j < table.ParentRelations.
Count
; j++) {
2403
int colCount = row.Table.Columns.
Count
;
fx\src\data\System\Data\XMLSchema.cs (15)
99
for (int i=0; i <= table.Columns.
Count
; i++) {
384
for (int i = 0; i < rels.
Count
; ++i) {
571
bool newDataSet = (ds.Tables.
Count
== 0);
700
for (int j = 0; j < childRelations.
Count
; j++) { // we need to do the same thing for nested child tables as they
715
if (this.FromInference && ds.Tables.
Count
== 0 && String.Compare(ds.DataSetName, "NewDataSet", StringComparison.Ordinal) == 0)
724
if (ds.Tables.
Count
> 0) { // if there is table, take first one's NS
813
for (int j = 0; j < childRelations.
Count
; j++) {
1273
if (!FromInference ||(isSimpleContent && table.Columns.
Count
== 0 )) {// for inference backward compatability
1415
for (int i=0; i < table.Columns.
Count
; i++)
1477
for (int j = 0; j < childRelations.
Count
; j++) {
1792
if(ordinal>-1 && ordinal<table.Columns.
Count
)
1883
if(ordinal>-1 && ordinal<table.Columns.
Count
)
2189
if(ordinal>-1 && ordinal<table.Columns.
Count
)
2216
int initialTableCount = _ds.Tables.
Count
; // just use for inference backward compatablity
2344
List<DataTable> _tableList = new List<DataTable>(_ds.Tables.
Count
);
fx\src\data\System\Data\XmlToDatasetMap.cs (3)
85
this.ColumnsSchemaMap = new XmlNodeIdHashtable(tableSchema.Columns.
Count
);
240
this.tableSchemaMap = new XmlNodeIdHashtable(dataSet.Tables.
Count
);
258
this.tableSchemaMap = new XmlNodeIdHashtable(dataSet.Tables.
Count
);
fx\src\data\System\NewXml\DataPointer.cs (1)
120
int cColumns = columns.
Count
;
fx\src\data\System\NewXml\DataSetMappper.cs (1)
338
for ( ; iColumn < columns.
Count
; iColumn++ ) {
fx\src\data\System\NewXml\XmlDataDocument.cs (6)
183
if ( dataSet.Tables.
Count
> 0 ) {
259
if ( dataSet.Tables.
Count
> 0 ) {
2743
if (ds == null ||ds.Tables.
Count
== 0) {
2747
retValue = new DataTable[ds.Tables.
Count
];
2754
retValue = new DataTable[ds.Tables.
Count
];
2758
if (dt.ParentRelations.
Count
== 0) {
fx\src\data\System\NewXml\XPathNodePointer.cs (3)
515
int cColumns = columns.
Count
;
534
int iColumn = (col != null) ? col.Ordinal - 1 : columns.
Count
- 1;
535
int cColumns = columns.
Count
;
System.Data.DataSetExtensions (3)
System\Data\DataRowComparer.cs (3)
172
int count = leftRow.Table.Columns.
Count
;
173
if (count != rightRow.Table.Columns.
Count
)
208
if (row.Table.Columns.
Count
> 0)
System.Data.Entity.Design (1)
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (1)
174
object[] values = new object[table.Columns.
Count
];
System.Web (2)
UI\WebControls\FilteredDataSetHelper.cs (1)
59
if (dataSet.Tables.
Count
== 0) {
UI\WebControls\SqlDataSourceView.cs (1)
1064
DataTable dataTable = (dataSet.Tables.
Count
> 0 ? dataSet.Tables[0] : null);
System.Web.DataVisualization (7)
Common\DataManager\DataPoint.cs (5)
1143
if(dataSet.Tables.
Count
> 0)
1182
if (!failed && columnIndex < dataRow.Table.Columns.
Count
&& columnIndex >= 0)
1219
if (!failed && columnIndex < dataRowView.DataView.Table.Columns.
Count
&& columnIndex >= 0)
1409
else if(((DataRow)enumerator.Current).Table.Columns.
Count
> 0)
1450
else if(((DataRowView)enumerator.Current).DataView.Table.Columns.
Count
> 0)
Common\General\Chart.cs (2)
478
else if (dataSource is DataSet && ((DataSet)dataSource).Tables.
Count
> 0)
640
if (dataSource is DataSet && ((DataSet)dataSource).Tables.
Count
> 0)
System.Web.Mobile (1)
UI\MobileControls\Design\ListDesigner.cs (1)
337
Debug.Assert(_dummyDataTable != null && _dummyDataTable.Columns.
Count
> 1);
System.Windows.Forms.DataVisualization (7)
Common\DataManager\DataPoint.cs (5)
1143
if(dataSet.Tables.
Count
> 0)
1182
if (!failed && columnIndex < dataRow.Table.Columns.
Count
&& columnIndex >= 0)
1219
if (!failed && columnIndex < dataRowView.DataView.Table.Columns.
Count
&& columnIndex >= 0)
1409
else if(((DataRow)enumerator.Current).Table.Columns.
Count
> 0)
1450
else if(((DataRowView)enumerator.Current).DataView.Table.Columns.
Count
> 0)
Common\General\Chart.cs (2)
478
else if (dataSource is DataSet && ((DataSet)dataSource).Tables.
Count
> 0)
640
if (dataSource is DataSet && ((DataSet)dataSource).Tables.
Count
> 0)