fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (8)
478internal static SqlDouble GetSqlDouble( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData ) {
479SqlDouble result;
482result = SqlDouble.Null;
494result = (SqlDouble) obj;
1090SqlDouble.Null, // SqlDbType.Float
1498internal static void SetSqlDouble( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, SqlDouble value ) {
1620case ExtendedClrTypeCode.SqlDouble: SetSqlDouble_Unchecked( sink, setters, ordinal, (SqlDouble) value ); break;
3498private static void SetSqlDouble_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SqlDouble value ) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (6)
316else if (dataType == typeof(SqlDouble))
391else if (sqlType == typeof(SqlDouble)) return SqlDouble.Null;
434else if (sqlVal is SqlDouble)
435comVal = ((SqlDouble)sqlVal).Value;
710(15, 255, 8, true, false, false, TdsEnums.SQLFLT8, TdsEnums.SQLFLTN, MetaTypeName.FLOAT, typeof(System.Double), typeof(SqlDouble), SqlDbType.Float, DbType.Double, 0);
fx\src\data\System\Data\SQLTypes\SQLDouble.cs (76)
97public static implicit operator SqlDouble(double x) {
105public static explicit operator double(SqlDouble x) {
119public static SqlDouble Parse(String s) {
121return SqlDouble.Null;
131public static SqlDouble operator -(SqlDouble x) {
142public static SqlDouble operator +(SqlDouble x, SqlDouble y) {
157public static SqlDouble operator -(SqlDouble x, SqlDouble y) {
172public static SqlDouble operator *(SqlDouble x, SqlDouble y) {
187public static SqlDouble operator /(SqlDouble x, SqlDouble y) {
210public static explicit operator SqlDouble(SqlBoolean x) {
218public static implicit operator SqlDouble(SqlByte x) {
226public static implicit operator SqlDouble(SqlInt16 x) {
234public static implicit operator SqlDouble(SqlInt32 x) {
242public static implicit operator SqlDouble(SqlInt64 x) {
250public static implicit operator SqlDouble(SqlSingle x) {
258public static implicit operator SqlDouble(SqlMoney x) {
266public static implicit operator SqlDouble(SqlDecimal x) {
280public static explicit operator SqlDouble(SqlString x) {
282return SqlDouble.Null;
291public static SqlBoolean operator==(SqlDouble x, SqlDouble y) {
298public static SqlBoolean operator!=(SqlDouble x, SqlDouble y) {
305public static SqlBoolean operator<(SqlDouble x, SqlDouble y) {
312public static SqlBoolean operator>(SqlDouble x, SqlDouble y) {
319public static SqlBoolean operator<=(SqlDouble x, SqlDouble y) {
326public static SqlBoolean operator>=(SqlDouble x, SqlDouble y) {
335public static SqlDouble Add(SqlDouble x, SqlDouble y) {
339public static SqlDouble Subtract(SqlDouble x, SqlDouble y) {
344public static SqlDouble Multiply(SqlDouble x, SqlDouble y) {
349public static SqlDouble Divide(SqlDouble x, SqlDouble y) {
354public static SqlBoolean Equals(SqlDouble x, SqlDouble y) {
359public static SqlBoolean NotEquals(SqlDouble x, SqlDouble y) {
364public static SqlBoolean LessThan(SqlDouble x, SqlDouble y) {
369public static SqlBoolean GreaterThan(SqlDouble x, SqlDouble y) {
374public static SqlBoolean LessThanOrEqual(SqlDouble x, SqlDouble y) {
379public static SqlBoolean GreaterThanOrEqual(SqlDouble x, SqlDouble y) {
434if (value is SqlDouble) {
435SqlDouble i = (SqlDouble)value;
439throw ADP.WrongType(value.GetType(), typeof(SqlDouble));
442public int CompareTo(SqlDouble value) {
460if (!(value is SqlDouble)) {
464SqlDouble i = (SqlDouble)value;
523public static readonly SqlDouble Null = new SqlDouble(true);
527public static readonly SqlDouble Zero = new SqlDouble(0.0);
531public static readonly SqlDouble MinValue = new SqlDouble(Double.MinValue);
535public static readonly SqlDouble MaxValue = new SqlDouble(Double.MaxValue);