1 write to ClassType
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlEnums.cs (1)
75
this.
ClassType
= classType;
18 references to ClassType
System.Data (18)
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (1)
68
return MetaType.GetMetaTypeFromSqlDbType(md.SqlDbType, false).
ClassType
;
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (6)
1244
fieldType = MetaType.MetaNVarChar.
ClassType
;
1248
fieldType = MetaType.MetaMaxVarBinary.
ClassType
;
1252
fieldType = MetaType.MetaImage.
ClassType
;
1266
fieldType = metaData.baseTI.metaType.
ClassType
;
1269
fieldType = metaData.metaType.
ClassType
; // Com+ type.
1276
fieldType = GetVersionedMetaType(metaData.metaType).
ClassType
; // Com+ type.
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (2)
81
_currentMetaData[ordinal].SqlDbType, _currentMetaData[ordinal].IsMultiValued).
ClassType
;
584
schemaRow[DataType] = metaType.
ClassType
; // com+ type
fx\src\data\System\Data\SqlClient\SqlParameter.cs (9)
906
if ((typeof(object) != destinationType.
ClassType
) &&
907
(currentType != destinationType.
ClassType
) &&
912
if ((typeof(string) == destinationType.
ClassType
)) {
940
value = Convert.ChangeType(value, destinationType.
ClassType
, (IFormatProvider)null);
946
else if ((typeof(SqlBytes) == currentType) && (typeof(byte[]) == destinationType.
ClassType
)) {
965
else if (destinationType.
ClassType
==typeof(byte[]) && value is Stream && allowStreaming) {
970
value = Convert.ChangeType(value, destinationType.
ClassType
, (IFormatProvider)null);
979
throw ADP.ParameterConversionFailed(value, destinationType.
ClassType
, e); // WebData 75433
1494
throw ADP.UninitializedParameterSize(index, metaType.
ClassType
);