10 references to FieldCount
System.Data.Common (10)
System\Data\Common\DataAdapter.cs (5)
37
Debug.Assert(readerHandler.
FieldCount
> 0, "Scenario expects non-empty results but no fields reported by reader");
329
if (0 >= readerHandler.
FieldCount
)
457
if (readerHandler.
FieldCount
<= 0)
466
while (lastFillNextResult && readerHandler.
FieldCount
<= 0);
525
if (0 >= dataReader.
FieldCount
)
System\Data\Common\DbDataAdapter.cs (1)
1521
if (0 < readerHandler.
FieldCount
)
System\Data\ProviderBase\SchemaMapping.cs (4)
66
Debug.Assert(0 < dataReader.
FieldCount
, "FieldCount");
512
string[] fieldNames = new string[dataReader.
FieldCount
];
574
int count = _dataReader.
FieldCount
;
770
Debug.Assert(_dataReader.
FieldCount
<= schemaRows.Length, "unexpected fewer rows in Schema than FieldCount");