Name
SqlByte
Synopsis
A structure that represents a single byte (8-bit unsigned integer),
which can store an integer value from 0 to 255. This maps to the SQL
Server tinyint
data type. This structure has
methods for conversion to .NET numeric types and mathematical
operations such as Mod( )
and Xor( )
.
public struct SqlByte : INullable, IComparable { // Public Constructors public SqlByte(bytevalue
); // Public Static Fields public static readonly SqlByte MaxValue; // =255 public static readonly SqlByte MinValue; // =0 public static readonly SqlByte Null; // =Null public static readonly SqlByte Zero; // =0 // Public Instance Properties public bool IsNull{get; } // implements INullable public byte Value{get; } // Public Static Methods public static SqlByte Add(SqlBytex
, SqlBytey
); public static SqlByte BitwiseAnd(SqlBytex
, SqlBytey
); public static SqlByte BitwiseOr(SqlBytex
, SqlBytey
); public static SqlByte Divide(SqlBytex
, SqlBytey
); public static SqlBoolean Equals(SqlBytex
, SqlBytey
); public static SqlBoolean GreaterThan(SqlBytex
, SqlBytey
); public static SqlBoolean GreaterThanOrEqual(SqlBytex
, SqlBytey
); public static SqlBoolean LessThan(SqlBytex
, SqlBytey
); public static SqlBoolean LessThanOrEqual(SqlBytex
, SqlBytey
); public static SqlByte Mod(SqlBytex
, SqlBytey
); public static SqlByte Multiply(SqlBytex
, SqlBytey
); public static SqlBoolean NotEquals(SqlBytex
, SqlBytey
); public static SqlByte OnesComplement(SqlBytex
); public static SqlByte operator &(SqlByte ...
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.