<PackageReference Include="System.Data.SqlClient" Version="4.7.0-preview.19073.11" />

SqlInt64

public struct SqlInt64 : INullable, IComparable
Represents a 64-bit signed integer to be stored in or retrieved from a database.
public static readonly SqlInt64 MaxValue

A constant representing the largest possible value for a SqlInt64 structure.

public static readonly SqlInt64 MinValue

A constant representing the smallest possible value for a SqlInt64 structure.

public static readonly SqlInt64 Null

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

public static readonly SqlInt64 Zero

Represents a zero value that can be assigned to the Value property of an instance of the SqlInt64 structure.

public bool IsNull { get; }

Gets a Boolean value that indicates whether this SqlInt64 structure is null.

public long Value { get; }

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

public SqlInt64(long value)

Initializes a new instance of the SqlInt64 structure using the supplied long integer.

public static SqlInt64 Add(SqlInt64 x, SqlInt64 y)

Computes the sum of the two SqlInt64 parameters.

public static SqlInt64 BitwiseAnd(SqlInt64 x, SqlInt64 y)

Computes the bitwise AND of its SqlInt64 operands.

public static SqlInt64 BitwiseOr(SqlInt64 x, SqlInt64 y)

Computes the bitwise OR of its two SqlInt64 operands.

public static SqlInt64 Divide(SqlInt64 x, SqlInt64 y)

Divides the first SqlInt64 parameter by the second.

public static SqlBoolean Equals(SqlInt64 x, SqlInt64 y)

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

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

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

public static SqlBoolean LessThan(SqlInt64 x, SqlInt64 y)

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

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

public static SqlInt64 Mod(SqlInt64 x, SqlInt64 y)

Computes the remainder after dividing the first SqlInt64 parameter by the second.

public static SqlInt64 Modulus(SqlInt64 x, SqlInt64 y)

Divides two SqlInt64 values and returns the remainder.

public static SqlInt64 Multiply(SqlInt64 x, SqlInt64 y)

Computes the product of the two SqlInt64 parameters.

public static SqlBoolean NotEquals(SqlInt64 x, SqlInt64 y)

Performs a logical comparison on the two SqlInt64 parameters to determine whether they are not equal.

public static SqlInt64 OnesComplement(SqlInt64 x)

Performs a bitwise one&#39;s complement operation on its SqlInt64 operand.

public static SqlInt64 op_Addition(SqlInt64 x, SqlInt64 y)

Computes the sum of the two SqlInt64 parameters.

Computes the bitwise AND of its SqlInt64 operands.

public static SqlInt64 op_BitwiseOr(SqlInt64 x, SqlInt64 y)

Computes the bitwise OR of its two SqlInt64 operands.

public static SqlInt64 op_Division(SqlInt64 x, SqlInt64 y)

Divides the first SqlInt64 parameter by the second.

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

Performs a bitwise exclusive-OR operation on the supplied parameters.

public static SqlInt64 op_Explicit(SqlBoolean x)

Converts the supplied SqlBoolean parameter to SqlInt64.

public static SqlInt64 op_Explicit(SqlDecimal x)

Converts the supplied SqlDecimal parameter to SqlInt64.

public static SqlInt64 op_Explicit(SqlDouble x)

Converts the supplied SqlDouble structure to SqlInt64.

public static long op_Explicit(SqlInt64 x)

Converts the SqlInt64 parameter to long.

public static SqlInt64 op_Explicit(SqlMoney x)

Converts the supplied SqlMoney parameter to SqlInt64.

public static SqlInt64 op_Explicit(SqlSingle x)

Converts the supplied SqlSingle parameter to SqlInt64.

public static SqlInt64 op_Explicit(SqlString x)

Converts the supplied SqlString parameter to SqlInt64.

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

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

public static SqlInt64 op_Implicit(SqlByte x)

Converts the supplied SqlByte parameter to SqlInt64.

public static SqlInt64 op_Implicit(SqlInt16 x)

Converts the supplied SqlInt16 parameter to SqlInt64.

public static SqlInt64 op_Implicit(SqlInt32 x)

Converts the supplied SqlInt32 parameter to SqlInt64.

public static SqlInt64 op_Implicit(long x)

Converts the long parameter to SqlInt64.

Performs a logical comparison on the two SqlInt64 parameters to determine whether they are not equal.

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

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

public static SqlInt64 op_Modulus(SqlInt64 x, SqlInt64 y)

Computes the remainder after dividing the first SqlInt64 parameter by the second.

public static SqlInt64 op_Multiply(SqlInt64 x, SqlInt64 y)

Computes the product of the two SqlInt64 parameters.

Performs a bitwise one&#39;s complement operation on its SqlInt64 operand.

Subtracts the second SqlInt64 parameter from the first.

The unary minus operator negates the Value of the SqlInt64 operand.

public static SqlInt64 Parse(string s)

Converts the String representation of a number to its 64-bit signed integer equivalent.

public static SqlInt64 Subtract(SqlInt64 x, SqlInt64 y)

Subtracts the second SqlInt64 parameter from the first.

public static SqlInt64 Xor(SqlInt64 x, SqlInt64 y)

Performs a bitwise exclusive-OR operation on the supplied parameters.

public int CompareTo(SqlInt64 value)

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

public int CompareTo(object value)

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

Converts this SqlInt64 structure to SqlBoolean.

public SqlByte ToSqlByte()

Converts this SqlInt64 structure to SqlByte.

Converts this SqlInt64 structure to SqlDecimal.

Converts this SqlInt64 structure to SqlDouble.

Converts this SqlInt64 structure to SqlInt16.

Converts this SqlInt64 structure to SqlInt32.

Converts this SqlInt64 structure to SqlMoney.

Converts this SqlInt64 structure to SqlSingle.

Converts this SqlInt64 structure to SqlString.