Name

SqlInt16

Synopsis

A structure that represents a 16-bit signed integer that can contain a value ranging from 215 (-32,768) to 215-1 (32,767). It maps to the SQL Server smallint data type.

public struct SqlInt16 : INullable, IComparable {

// Public Constructors

   public SqlInt16(short value);  

// Public Static Fields

   public static readonly SqlInt16 MaxValue;          // =32767

   public static readonly SqlInt16 MinValue;          // =-32768

   public static readonly SqlInt16 Null;              // =Null

   public static readonly SqlInt16 Zero;              // =0

                  // Public Instance Properties

   public bool IsNull{get; }                          // implements INullable

   public short Value{get; } 

// Public Static Methods

   public static SqlInt16 Add(SqlInt16 x, SqlInt16 y);  

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

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

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

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

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

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

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

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

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

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

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

   public static SqlInt16 OnesComplement(SqlInt16 x);  

   public static SqlInt16 operator &(SqlInt16 x, SqlInt16 y);

   public static SqlInt16 operator |(SqlInt16  ...

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.