32 references to Length
System.Data (32)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (4)
131
indexmap = new int[resultSet.MetaData.
Length
];
148
Row row = new Row(resultSet.MetaData.
Length
);
565
_sortedColumnMappings = new List<_ColumnMapping>(metaDataSet.
Length
);
566
for(int i = 0; i < metaDataSet.
Length
; i++) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (20)
171
return _metaData.
Length
;
281
if ( null != metaData && 0 < metaData.
Length
) {
284
for( int index=0; index < metaData.
Length
; index++ ) {
428
schemaTable.MinimumCapacity = md.
Length
;
508
for (int i = 0; i < md.
Length
; i++) {
1147
int[] indexMap = new int[_metaData.
Length
];
3329
Debug.Assert(_sharedState._nextColumnHeaderToRead <= _metaData.
Length
, "_sharedState._nextColumnHeaderToRead too large");
3330
Debug.Assert(_sharedState._nextColumnDataToRead <= _metaData.
Length
, "_sharedState._nextColumnDataToRead too large");
3630
Debug.Assert(_sharedState._nextColumnHeaderToRead <= _metaData.
Length
, "_sharedState._nextColumnHeaderToRead too large");
3738
if (_data == null || _data.Length<metaDataSet.
Length
) {
3739
_data = SqlBuffer.CreateBufferArray(metaDataSet.
Length
);
3760
_data = SqlBuffer.CreateBufferArray(metaData.
Length
);
3863
if ((columnIndex < 0) || (columnIndex >= _metaData.
Length
)) {
3889
if ((columnIndex < 0) || (columnIndex >= _metaData.
Length
)) {
3909
if ((columnIndex < 0) || (columnIndex >= _metaData.
Length
)) {
3927
Debug.Assert(columnIndex.Value >= 0 && columnIndex.Value < _metaData.
Length
, "Invalid column index");
4212
if ((!_haltRead) && ((!_sharedState._dataReady) || (WillHaveEnoughData(_metaData.
Length
- 1)))) {
4236
else if (WillHaveEnoughData(_metaData.
Length
- 1)) {
4238
result = TryReadColumn(_metaData.
Length
- 1, setTimeout: true);
4307
if (TryReadColumn(_metaData.
Length
- 1, true)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (7)
2221
if (!stateObj.TryStartNewRow(isNullCompressed: true, nullBitmapColumnsCount: stateObj._cleanupMetaData.
Length
)) {
4569
Debug.Assert(columns != null && columns.
Length
> 0, "no metadata available!");
4573
for (int i = 0; i < columns.
Length
; i++) {
4720
for (int i = 0; i < columns.
Length
; i++) {
4897
for (int i = startCol; i < columns.
Length
; i++) {
9153
for (int col = 0; col < metadataCollection.
Length
; col++) {
9297
for (int i = 0; i < metadataCollection.
Length
; i++) {
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (1)
480
int bytesToRead = 1 + (_cleanupMetaData.
Length
+ 7) / 8;