31 references to Scale
System.Data (31)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (7)
491
source.
Scale
,
505
source.
Scale
,
576
firstMd.
Scale
== secondMd.Scale &&
681
scale = SmiMetaData.DefaultTime.
Scale
;
890
scale = SmiMetaData.DefaultDecimal.
Scale
;
910
scale = SmiMetaData.DefaultTime.
Scale
;
920
scale = SmiMetaData.DefaultTime.
Scale
;
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (8)
138
DefaultChar_NoCollation.
Scale
,
152
DefaultNChar_NoCollation.
Scale
,
166
DefaultNText_NoCollation.
Scale
,
180
DefaultNVarChar_NoCollation.
Scale
,
194
DefaultText_NoCollation.
Scale
,
208
DefaultVarChar_NoCollation.
Scale
,
743
_scale = smdDflt.
Scale
;
788
Scale
,
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (1)
33
SmiMetaData.DefaultNVarChar_NoCollation.
Scale
,
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (3)
1275
targetBuffer.SetToDateTime2(GetDateTime_Unchecked(sink, getters, ordinal), metaData.
Scale
);
1278
targetBuffer.SetToTime(GetTimeSpan_Unchecked(sink, getters, ordinal), metaData.
Scale
);
1281
targetBuffer.SetToDateTimeOffset(GetDateTimeOffset_Unchecked(sink, getters, ordinal), metaData.
Scale
);
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
632
schemaRow[Scale] = colMetaData.
Scale
;
fx\src\data\System\Data\SqlClient\TdsParser.cs (6)
6142
stateObj.WriteByte(dateTime2MetaData.
Scale
); //scale property
6143
WriteDateTime2(value, dateTime2MetaData.
Scale
, (int)(dateTime2MetaData.MaxLength), stateObj);
8878
stateObj.WriteByte(metaData.
Scale
);
9000
stateObj.WriteByte(metaData.
Scale
);
9004
stateObj.WriteByte(metaData.
Scale
);
9008
stateObj.WriteByte(metaData.
Scale
);
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (5)
473
_stateObj.Parser.WriteSqlDecimal(SqlDecimal.ConvertToPrecScale(value, _metaData.Precision, _metaData.
Scale
), _stateObj);
518
Int64 time = value.TimeOfDay.Ticks / TdsEnums.TICKS_FROM_SCALE[_metaData.
Scale
];
552
scale = SmiMetaData.DefaultTime.
Scale
;
557
scale = _metaData.
Scale
;
580
scale = _metaData.
Scale
;