Name

SqlInt32

Synopsis

A structure that represents a 32-bit signed integer that can contain a value ranging from -231 (-2,147,483,648) to 231-1 (2,147,483,647). It maps to the SQL Server int data type.

public struct SqlInt32 : INullable, IComparable {

// Public Constructors

   public SqlInt32(int value);  

// Public Static Fields

   public static readonly SqlInt32 MaxValue;          // =2147483647

   public static readonly SqlInt32 MinValue;          // =-2147483648

   public static readonly SqlInt32 Null;              // =Null

   public static readonly SqlInt32 Zero;              // =0

                  // Public Instance Properties

   public bool IsNull{get; }                          // implements INullable

   public int Value{get; } 

// Public Static Methods

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

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

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

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

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

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

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

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

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

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

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

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

   public static SqlInt32 OnesComplement(SqlInt32 x);  

   public static SqlInt32 operator &(SqlInt32 x, SqlInt32 y); public static SqlInt32 operator ...

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.