5 writes to tdsType
System.Data (5)
fx\src\data\System\Data\SqlClient\TdsParser.cs (4)
3437
rec.
tdsType
= rec.metaType.NullableType;
3448
rec.
tdsType
= (byte)tdsType;
4163
col.
tdsType
= (col.isNullable ? col.metaType.NullableType : col.metaType.TDSType);
4165
col.
tdsType
= tdsType;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
860
this.
tdsType
= original.tdsType;
27 references to tdsType
System.Data (27)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
5167
if(rec.
tdsType
!= TdsEnums.SQLBIGVARBINARY) {
5168
throw SQL.InvalidDataTypeForEncryptedParameter(thisParam.ParameterNameFixed, rec.
tdsType
, TdsEnums.SQLBIGVARBINARY);
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (3)
3594
byte typeAndMask = (byte)(_metaData[currentColumn].
tdsType
& TdsEnums.SQLLenMask);
3596
if (0 != (_metaData[currentColumn].
tdsType
& 0x80)) {
3600
else if (0 == (_metaData[currentColumn].
tdsType
& 0x0c)) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (21)
4936
if (!TryGetTokenLength(md.
tdsType
, stateObj, out length)) {
4946
if (!TryGetTokenLength(md.
tdsType
, stateObj, out length)) {
5044
byte tdsType = md.baseTI.
tdsType
;
5300
byte tdsType = md.
tdsType
;
6744
Debug.Assert(colmeta.
tdsType
== TdsEnums.SQLXMLTYPE ||
6745
colmeta.
tdsType
== TdsEnums.SQLBIGVARCHAR ||
6746
colmeta.
tdsType
== TdsEnums.SQLBIGVARBINARY ||
6747
colmeta.
tdsType
== TdsEnums.SQLNVARCHAR ||
6749
colmeta.
tdsType
== TdsEnums.SQLUDT,
6755
if (!TryGetTokenLength(colmeta.
tdsType
, stateObj, out intLength)) {
9226
stateObj.WriteByte(mdPriv.
tdsType
);
9230
WriteTokenLength(mdPriv.
tdsType
, mdPriv.length, stateObj);
9243
WriteTokenLength(mdPriv.
tdsType
, mdPriv.length, stateObj);
9331
stateObj.WriteByte(md.
tdsType
);
9332
WriteTokenLength(md.
tdsType
, md.length, stateObj);
9345
stateObj.WriteByte(md.
tdsType
);
9350
stateObj.WriteByte(md.
tdsType
);
9354
stateObj.WriteByte(md.
tdsType
);
9355
WriteTokenLength(md.
tdsType
, md.length, stateObj);
9595
WriteTokenLength(metadata.
tdsType
, ccbStringBytes == 0 ? ccb : ccbStringBytes, stateObj);
9609
WriteTokenLength(metadata.
tdsType
, ccbStringBytes == 0 ? ccb : ccbStringBytes, stateObj);
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
860
this.tdsType = original.
tdsType
;