<PackageReference Include="System.Data.SqlClient" Version="4.7.0-preview6.19264.9" />

SqlInt32

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

A constant representing the largest possible value of a SqlInt32.

public static readonly SqlInt32 MinValue

A constant representing the smallest possible value of a SqlInt32.

public static readonly SqlInt32 Null

Represents a DBNull that can be assigned to this instance of the SqlInt32 class.

public static readonly SqlInt32 Zero

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

public bool IsNull { get; }

Indicates whether this SqlInt32 structure is null.

public int Value { get; }

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

public SqlInt32(int value)

Initializes a new instance of the SqlInt32 structure using the supplied integer value.

public static SqlInt32 Add(SqlInt32 x, SqlInt32 y)

Computes the sum of the two specified SqlInt32 structures.

public static SqlInt32 BitwiseAnd(SqlInt32 x, SqlInt32 y)

Computes the bitwise AND of its SqlInt32 operands.

public static SqlInt32 BitwiseOr(SqlInt32 x, SqlInt32 y)

Computes the bitwise OR of the specified SqlInt32 structures.

public static SqlInt32 Divide(SqlInt32 x, SqlInt32 y)

Divides the first SqlInt32 parameter from the second.

public static SqlBoolean Equals(SqlInt32 x, SqlInt32 y)

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

Compares the two SqlInt32 parameters to determine whether the first is greater than the second.

Compares the two SqlInt32 parameters to determine whether the first is greater than or equal to the second.

public static SqlBoolean LessThan(SqlInt32 x, SqlInt32 y)

Compares the two SqlInt32 parameters to determine whether the first is less than the second.

Compares the two SqlInt32 parameters to determine whether the first is less than or equal to the second.

public static SqlInt32 Mod(SqlInt32 x, SqlInt32 y)

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

public static SqlInt32 Modulus(SqlInt32 x, SqlInt32 y)

Divides two SqlInt32 values and returns the remainder.

public static SqlInt32 Multiply(SqlInt32 x, SqlInt32 y)

Computes the product of the two SqlInt32 parameters.

public static SqlBoolean NotEquals(SqlInt32 x, SqlInt32 y)

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

public static SqlInt32 OnesComplement(SqlInt32 x)

Performs a bitwise one&#39;s complement operation on the specified SqlInt32 structure.

public static SqlInt32 op_Addition(SqlInt32 x, SqlInt32 y)

Computes the sum of the two specified SqlInt32 structures.

Computes the bitwise AND of its SqlInt32 operands.

public static SqlInt32 op_BitwiseOr(SqlInt32 x, SqlInt32 y)

Computes the bitwise OR of the specified SqlInt32 structures.

public static SqlInt32 op_Division(SqlInt32 x, SqlInt32 y)

Divides the first SqlInt32 parameter from the second.

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

Performs a bitwise exclusive-OR operation on the specified SqlInt32 structures.

public static SqlInt32 op_Explicit(SqlBoolean x)

Converts the supplied SqlBoolean to SqlInt32.

public static SqlInt32 op_Explicit(SqlDecimal x)

Converts the supplied SqlDecimal structure to SqlInt32.

public static SqlInt32 op_Explicit(SqlDouble x)

Converts the supplied SqlDouble to SqlInt32.

public static int op_Explicit(SqlInt32 x)

Converts the supplied SqlInt32 structure to an integer.

public static SqlInt32 op_Explicit(SqlInt64 x)

Converts the supplied SqlInt64 to SqlInt32.

public static SqlInt32 op_Explicit(SqlMoney x)

Converts the supplied SqlMoney structure to SqlInt32.

public static SqlInt32 op_Explicit(SqlSingle x)

Converts the supplied SqlSingle to SqlInt32.

public static SqlInt32 op_Explicit(SqlString x)

Converts the supplied SqlString object to SqlInt32.

Compares the two SqlInt32 parameters to determine whether the first is greater than the second.

Compares the two SqlInt32 parameters to determine whether the first is greater than or equal to the second.

public static SqlInt32 op_Implicit(SqlByte x)

Converts the supplied SqlByte property to SqlInt32.

public static SqlInt32 op_Implicit(SqlInt16 x)

Converts the supplied SqlInt16 to SqlInt32.

public static SqlInt32 op_Implicit(int x)

Converts the supplied integer to SqlInt32.

Performa a logical comparison of the two SqlInt32 parameters to determine whether they are not equal.

Compares the two SqlInt32 parameters to determine whether the first is less than the second.

Compares the two SqlInt32 parameters to determine whether the first is less than or equal to the second.

public static SqlInt32 op_Modulus(SqlInt32 x, SqlInt32 y)

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

public static SqlInt32 op_Multiply(SqlInt32 x, SqlInt32 y)

Computes the product of the two SqlInt32 parameters.

Performs a bitwise one&#39;s complement operation on the specified SqlInt32 structure.

Subtracts the second SqlInt32 parameter from the first.

Negates the Value of the SqlInt32 operand.

public static SqlInt32 Parse(string s)

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

public static SqlInt32 Subtract(SqlInt32 x, SqlInt32 y)

Subtracts the second SqlInt32 parameter from the first.

public static SqlInt32 Xor(SqlInt32 x, SqlInt32 y)

Performs a bitwise exclusive-OR operation on the specified SqlInt32 structures.

public int CompareTo(SqlInt32 value)

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

public int CompareTo(object value)

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

Converts this SqlInt32 structure to SqlBoolean.

public SqlByte ToSqlByte()

Converts this SqlInt32 structure to SqlByte.

Converts this SqlInt32 structure to SqlDecimal.

Converts this SqlInt32 structure to SqlDouble.

Converts this SqlInt32 structure to SqlInt16.

Converts this SqlInt32 structure to SqlInt64.

Converts this SqlInt32 structure to SqlMoney.

Converts this SqlInt32 structure to SqlSingle.

Converts this SqlInt32 structure to SqlString.