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(byte value);  

// 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(SqlByte x, SqlByte y);  

   public static SqlByte BitwiseAnd(SqlByte x, SqlByte y);  

   public static SqlByte BitwiseOr(SqlByte x, SqlByte y);  

   public static SqlByte Divide(SqlByte x, SqlByte y);  

   public static SqlBoolean Equals(SqlByte x, SqlByte y);  

   public static SqlBoolean GreaterThan(SqlByte x, SqlByte y);

   public static SqlBoolean GreaterThanOrEqual(SqlByte x, SqlByte y);

   public static SqlBoolean LessThan(SqlByte x, SqlByte y);  

   public static SqlBoolean LessThanOrEqual(SqlByte x, SqlByte y);

   public static SqlByte Mod(SqlByte x, SqlByte y);  

   public static SqlByte Multiply(SqlByte x, SqlByte y);  

   public static SqlBoolean NotEquals(SqlByte x, SqlByte y);  

   public static SqlByte OnesComplement(SqlByte x);  

   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.