<PackageReference Include="System.Data.SqlClient" Version="4.7.0-preview8.19405.3" />

SqlByte

public struct SqlByte : INullable, IComparable
Represents an 8-bit unsigned integer, in the range of 0 through 255, to be stored in or retrieved from a database.
public static readonly SqlByte MaxValue

A constant representing the largest possible value of a SqlByte.

public static readonly SqlByte MinValue

A constant representing the smallest possible value of a SqlByte.

public static readonly SqlByte Null

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

public static readonly SqlByte Zero

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

public bool IsNull { get; }

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

public byte Value { get; }

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

public SqlByte(byte value)

Initializes a new instance of the SqlByte structure using the specified byte value.

public static SqlByte Add(SqlByte x, SqlByte y)

Computes the sum of the two specified SqlByte structures.

public static SqlByte BitwiseAnd(SqlByte x, SqlByte y)

Computes the bitwise AND of its SqlByte operands.

public static SqlByte BitwiseOr(SqlByte x, SqlByte y)

Computes the bitwise OR of its two SqlByte operands.

public static SqlByte Divide(SqlByte x, SqlByte y)

Divides its first SqlByte operand by its second.

public static SqlBoolean Equals(SqlByte x, SqlByte y)

Performs a logical comparison of two SqlByte structures to determine whether they are equal.

public static SqlBoolean GreaterThan(SqlByte x, SqlByte y)

Compares two instances of SqlByte to determine whether the first is greater than the second.

Compares two SqlByte structures to determine whether the first is greater than or equal to the second.

public static SqlBoolean LessThan(SqlByte x, SqlByte y)

Compares two instances of SqlByte to determine whether the first is less than the second.

Compares two instances of SqlByte to determine whether the first is less than or equal to the second.

public static SqlByte Mod(SqlByte x, SqlByte y)

Computes the remainder after dividing its first SqlByte operand by its second.

public static SqlByte Modulus(SqlByte x, SqlByte y)

Divides two SqlByte values and returns the remainder.

public static SqlByte Multiply(SqlByte x, SqlByte y)

Computes the product of the two SqlByte operands.

public static SqlBoolean NotEquals(SqlByte x, SqlByte y)

Compares two instances of SqlByte to determine whether they are not equal.

public static SqlByte OnesComplement(SqlByte x)

The ones complement operator performs a bitwise one&#39;s complement operation on its SqlByte operand.

public static SqlByte op_Addition(SqlByte x, SqlByte y)

Computes the sum of the two specified SqlByte structures.

public static SqlByte op_BitwiseAnd(SqlByte x, SqlByte y)

Computes the bitwise AND of its SqlByte operands.

public static SqlByte op_BitwiseOr(SqlByte x, SqlByte y)

Computes the bitwise OR of its two SqlByte operands.

public static SqlByte op_Division(SqlByte x, SqlByte y)

Divides its first SqlByte operand by its second.

public static SqlBoolean op_Equality(SqlByte x, SqlByte y)

Performs a logical comparison of two SqlByte structures to determine whether they are equal.

public static SqlByte op_ExclusiveOr(SqlByte x, SqlByte y)

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

public static SqlByte op_Explicit(SqlBoolean x)

Converts the SqlBoolean parameter to a SqlByte.

public static byte op_Explicit(SqlByte x)

Converts the supplied SqlByte structure to a byte.

public static SqlByte op_Explicit(SqlDecimal x)

Converts the supplied SqlDecimal to SqlByte.

public static SqlByte op_Explicit(SqlDouble x)

Converts the supplied SqlDouble to SqlByte.

public static SqlByte op_Explicit(SqlInt16 x)

Converts the SqlInt16 parameter to a SqlByte.

public static SqlByte op_Explicit(SqlInt32 x)

Converts the supplied SqlInt32 to SqlByte.

public static SqlByte op_Explicit(SqlInt64 x)

Converts the supplied SqlInt64 to SqlByte.

public static SqlByte op_Explicit(SqlMoney x)

Converts the SqlMoney parameter to a SqlByte.

public static SqlByte op_Explicit(SqlSingle x)

Converts the supplied SqlSingle structure to SqlByte.

public static SqlByte op_Explicit(SqlString x)

Converts the supplied SqlString to SqlByte.

Compares two instances of SqlByte to determine whether the first is greater than the second.

Compares two instances of SqlByte to determine whether the first is greater than or equal to the second.

public static SqlByte op_Implicit(byte x)

Converts the supplied byte value to a SqlByte.

Compares two instances of SqlByte to determine whether they are not equal.

public static SqlBoolean op_LessThan(SqlByte x, SqlByte y)

Compares two instances of SqlByte to determine whether the first is less than the second.

Compares two instances of SqlByte to determine whether the first is less than or equal to the second.

public static SqlByte op_Modulus(SqlByte x, SqlByte y)

Computes the remainder after dividing its first SqlByte operand by its second.

public static SqlByte op_Multiply(SqlByte x, SqlByte y)

Computes the product of the two SqlByte operands.

The ones complement operator performs a bitwise one&#39;s complement operation on its SqlByte operand.

public static SqlByte op_Subtraction(SqlByte x, SqlByte y)

Subtracts the second SqlByte operand from the first.

public static SqlByte Parse(string s)

Converts the String representation of a number to its 8-bit unsigned integer equivalent.

public static SqlByte Subtract(SqlByte x, SqlByte y)

Subtracts the second SqlByte operand from the first.

public static SqlByte Xor(SqlByte x, SqlByte y)

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

public int CompareTo(SqlByte value)

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

public int CompareTo(object value)

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

Converts this SqlByte structure to SqlBoolean.

Converts this SqlByte structure to SqlDecimal.

Converts this SqlByte structure to SqlDouble.

Converts this SqlByte structure to SqlInt16.

Converts this SqlByte to SqlInt32.

Converts this SqlByte structure to SqlInt64.

Converts this SqlByte structure to SqlMoney.

Converts this SqlByte structure to SqlSingle.

Converts this instance of SqlByte to SqlString.