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(shortvalue
); // 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(SqlInt16x
, SqlInt16y
); public static SqlInt16 BitwiseAnd(SqlInt16x
, SqlInt16y
); public static SqlInt16 BitwiseOr(SqlInt16x
, SqlInt16y
); public static SqlInt16 Divide(SqlInt16x
, SqlInt16y
); public static SqlBoolean Equals(SqlInt16x
, SqlInt16y
); public static SqlBoolean GreaterThan(SqlInt16x
, SqlInt16y
); public static SqlBoolean GreaterThanOrEqual(SqlInt16x
, SqlInt16y
); public static SqlBoolean LessThan(SqlInt16x
, SqlInt16y
); public static SqlBoolean LessThanOrEqual(SqlInt16x
, SqlInt16y
); public static SqlInt16 Mod(SqlInt16x
, SqlInt16y
); public static SqlInt16 Multiply(SqlInt16x
, SqlInt16y
); public static SqlBoolean NotEquals(SqlInt16x
, SqlInt16y
); public static SqlInt16 OnesComplement(SqlInt16x
); public static SqlInt16 operator &(SqlInt16x
, SqlInt16y
); 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.