<PackageReference Include="System.Data.SqlClient" Version="4.7.0-preview5.19224.8" />

SqlSingle

public struct SqlSingle : INullable, IComparable
Represents a floating point number within the range of -3.40E +38 through 3.40E +38 to be stored in or retrieved from a database.
public static readonly SqlSingle MaxValue

Represents the maximum value that can be assigned to the Value property of an instance of the SqlSingle class.

public static readonly SqlSingle MinValue

Represents the minimum value that can be assigned to Value property of an instance of the SqlSingle class.

public static readonly SqlSingle Null

Represents a DBNull that can be assigned to this instance of the SqlSingle structure.

public static readonly SqlSingle Zero

Represents the zero value that can be assigned to the Value property of an instance of the SqlSingle class.

public bool IsNull { get; }

Indicates whether this SqlSingle structure is null.

public float Value { get; }

Gets the value of this SqlSingle structure. This property is read-only.

public SqlSingle(double value)

Initializes a new instance of the SqlSingle structure using the supplied double parameter.

public SqlSingle(float value)

Initializes a new instance of the SqlSingle structure.

public static SqlSingle Add(SqlSingle x, SqlSingle y)

Computes the sum of the two specified SqlSingle structures.

public static SqlSingle Divide(SqlSingle x, SqlSingle y)

Divides the first SqlSingle structure by the second.

public static SqlBoolean Equals(SqlSingle x, SqlSingle y)

Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal.

Performs a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second.

Performs a logical comparison of two SqlSingle structures to determine whether the first is greater than or equal to the second.

public static SqlBoolean LessThan(SqlSingle x, SqlSingle y)

Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than the second.

Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second.

public static SqlSingle Multiply(SqlSingle x, SqlSingle y)

Computes the product of the two specified SqlSingle structures.

Performs a logical comparison of the two SqlSingle parameters to determine whether they are not equal.

Computes the sum of the two specified SqlSingle structures.

Divides the first SqlSingle structure by the second.

Performs a logical comparison of the two SqlSingle parameters to determine whether they are equal.

public static SqlSingle op_Explicit(SqlBoolean x)

This implicit operator converts the supplied SqlBoolean to SqlSingle.

public static SqlSingle op_Explicit(SqlDouble x)

Converts the supplied SqlDouble parameter to SqlSingle.

public static float op_Explicit(SqlSingle x)

Converts the specified SqlSingle structure to float.

public static SqlSingle op_Explicit(SqlString x)

Converts the supplied SqlString parameter to SqlSingle.

Performs a logical comparison of the two SqlSingle operands to determine whether the first is greater than the second.

Performs a logical comparison of two SqlSingle structures to determine whether the first is greater than or equl to the second.

public static SqlSingle op_Implicit(SqlByte x)

This implicit operator converts the SqlByte parameter to SqlSingle.

public static SqlSingle op_Implicit(SqlDecimal x)

Converts the supplied SqlDecimal parameter to SqlSingle.

public static SqlSingle op_Implicit(SqlInt16 x)

Converts the supplied SqlInt16 parameter to SqlSingle.

public static SqlSingle op_Implicit(SqlInt32 x)

Converts the supplied SqlInt32 structure to SqlSingle.

public static SqlSingle op_Implicit(SqlInt64 x)

Converts the supplied SqlInt64 parameter to SqlSingle.

public static SqlSingle op_Implicit(SqlMoney x)

Converts the supplied SqlMoney structure to SqlSingle.

public static SqlSingle op_Implicit(float x)

Converts the specified floating point value to SqlSingle.

Performs a logical comparison of the two SqlSingle parameters to determine whether they are not equal.

Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than the second.

Performs a logical comparison of the two SqlSingle parameters to determine whether the first is less than or equal to the second.

Computes the product of the two specified SqlSingle structures.

Subtracts the second SqlSingle structure from the first.

Negates the Value of the specified SqlSingle structure.

public static SqlSingle Parse(string s)

Converts the specified String to a SqlSingle structure.

public static SqlSingle Subtract(SqlSingle x, SqlSingle y)

Subtracts the second SqlSingle structure from the first.

public int CompareTo(SqlSingle value)

Compares this SqlSingle instance to the supplied SqlSingle and returns an indication of their relative values.

public int CompareTo(object value)

Compares this SqlSingle instance to the supplied Object and returns an indication of their relative values.

Converts this SqlSingle structure to SqlBoolean.

public SqlByte ToSqlByte()

Converts this SqlSingle structure to SqlByte.

Converts this SqlSingle structure to SqlDecimal.

Converts this SqlSingle structure to SqlDouble.

Converts this SqlSingle structure to SqlInt16.

Converts this SqlSingle structure to SqlInt32.

Converts this SqlSingle structure to SqlInt64.

Converts this SqlSingle structure to SqlMoney.

Converts this SqlSingle structure to SqlString.