16 references to Precision
System.Data (15)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (2)
657
byte tempNonFractPrec = checked((byte) (value.
Precision
- value.Scale));
692
byte tempNonFractPrec = checked((byte)(value.
Precision
- value.Scale));
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (1)
364
case StorageType.SqlDecimal: return new SmiMetaData(SqlDbType.Decimal, 17, ((SqlDecimal)_object).
Precision
, ((SqlDecimal)_object).Scale, 0, SqlCompareOptions.None, null);
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
1200
targetBuffer.SetToDecimal( dec.
Precision
, dec.Scale, dec.IsPositive, dec.Data );
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
480
byte precision = ((SqlDecimal)(decimal)value).
Precision
;
fx\src\Data\System\Data\ProviderBase\DbParameterHelper.cs (1)
237
return ((System.Data.SqlTypes.SqlDecimal)(Decimal) value).
Precision
; // WebData 102913
fx\src\data\System\Data\Sql\SqlMetaData.cs (3)
1141
smd = new SqlMetaData(name, SqlDbType.Decimal, sd.
Precision
, sd.Scale);
1232
bPrec = sd.
Precision
;
1464
if (!value.IsNull && (value.
Precision
!= Precision || value.Scale != Scale))
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
1362
if (sqlValue.
Precision
> precision) {
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1623
return ((SqlDecimal)value).
Precision
;
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
8222
if (precision < ((SqlDecimal)value).
Precision
) {
8234
if (precision < sqlValue.
Precision
) {
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
467
_stateObj.WriteByte(value.
Precision
); // propbytes: precision
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (1)
3148
byte prec = n.
Precision
;
System.Data.Entity (1)
System\Data\EntityClient\DbParameterHelper.cs (1)
223
return ((System.Data.SqlTypes.SqlDecimal)(Decimal) value).
Precision
;