DekGenius.com
[ Team LiB ] Previous Section Next Section

SqlDouble

System.Data.SqlTypes (system.data.dll) struct

A structure that represents a floating-point number from -1.79E+308 to 1.79E+308. This maps to the SQL Server float data type.

public struct SqlDouble : INullable, IComparable {
// Public Constructors
   public SqlDouble( double value);  
// Public Static Fields
   public static readonly SqlDouble MaxValue;         // =1.79769313486232E+308
   public static readonly SqlDouble MinValue;         // =-1.79769313486232E+308
   public static readonly SqlDouble Null;             // =Null
   public static readonly SqlDouble Zero;             // =0
// Public Instance Properties
   public bool IsNull{get; }                          // implements INullable
   public double Value{get; } 
// Public Static Methods
   public static SqlDouble Add( SqlDouble x, SqlDouble y);  
   public static SqlDouble Divide( SqlDouble x, SqlDouble y);  
   public static SqlBoolean Equals(SqlDouble x, SqlDouble y);  
   public static SqlBoolean GreaterThan(SqlDouble x, SqlDouble y);
   public static SqlBoolean GreaterThanOrEqual(SqlDouble x, SqlDouble y);
   public static SqlBoolean LessThan(SqlDouble x, SqlDouble y);
   public static SqlBoolean LessThanOrEqual(SqlDouble x, SqlDouble y);
   public static SqlDouble Multiply(SqlDouble x, SqlDouble y);
   public static SqlBoolean NotEquals(SqlDouble x, SqlDouble y);
   public static SqlDouble Parse( string s);  
   public static SqlDouble Subtract(SqlDouble x, SqlDouble y); 
   public static SqlDouble operator *(SqlDouble x, SqlDouble y);
   public static SqlDouble operator /(SqlDouble x, SqlDouble y); 
   public static SqlDouble operator -( SqlDouble x);  
   public static SqlDouble operator -(SqlDouble x, SqlDouble y);
   public static SqlDouble operator +(SqlDouble x, SqlDouble y);
   public static SqlBoolean operator !=(SqlDouble x, SqlDouble y);
   public static SqlBoolean operator <(SqlDouble x, SqlDouble y);
   public static SqlBoolean operator <=(SqlDouble x, SqlDouble y);
   public static SqlBoolean operator ==(SqlDouble x, SqlDouble y);
   public static SqlBoolean operator >(SqlDouble x, SqlDouble y);
   public static SqlBoolean operator >=(SqlDouble x, SqlDouble y);
   public static explicit operator double( SqlDouble x);  
   public static explicit operator SqlDouble( SqlBoolean x);  
   public static explicit operator SqlDouble( SqlString x);  
   public static implicit operator SqlDouble( double x);  
   public static implicit operator SqlDouble( SqlByte x);  
   public static implicit operator SqlDouble( SqlDecimal x);  
   public static implicit operator SqlDouble( SqlInt16 x);  
   public static implicit operator SqlDouble( SqlInt32 x);  
   public static implicit operator SqlDouble( SqlInt64 x);  
   public static implicit operator SqlDouble( SqlMoney x);  
   public static implicit operator SqlDouble( SqlSingle x);  
// Public Instance Methods
   public int CompareTo( object value);              // implements IComparable
   public override bool Equals( object value);       // overrides ValueType
   public override int GetHashCode(  );                  // overrides ValueType
   public SqlBoolean ToSqlBoolean(  );  
   public SqlByte ToSqlByte(  );  
   public SqlDecimal ToSqlDecimal(  );  
   public SqlInt16 ToSqlInt16(  );  
   public SqlInt32 ToSqlInt32(  );  
   public SqlInt64 ToSqlInt64(  );  
   public SqlMoney ToSqlMoney(  );  
   public SqlSingle ToSqlSingle(  );  
   public SqlString ToSqlString(  );  
   public override string ToString(  );                  // overrides ValueType
}

Hierarchy

System.Object figs/U2192.gif System.ValueType figs/U2192.gif SqlDouble(INullable, System.IComparable)

Returned By

System.Data.SqlClient.SqlDataReader.GetSqlDouble( ) , SqlBoolean.ToSqlDouble( ) , SqlByte.ToSqlDouble( ) , SqlDecimal.ToSqlDouble( ) , SqlInt16.ToSqlDouble( ) , SqlInt32.ToSqlDouble( ) , SqlInt64.ToSqlDouble( ) , SqlMoney.ToSqlDouble( ) , SqlSingle.ToSqlDouble( ) , SqlString.ToSqlDouble( )

    [ Team LiB ] Previous Section Next Section