Exemplo n.º 1
0
 public static SqlByte BitwiseOr(SqlByte x, SqlByte y)
 {
     return (x | y);
 }
Exemplo n.º 2
0
 public static SqlByte Add(SqlByte x, SqlByte y)
 {
     return (x + y);
 }
Exemplo n.º 3
0
 public static SqlByte BitwiseAnd(SqlByte x, SqlByte y)
 {
     return (x & y);
 }
Exemplo n.º 4
0
 public static SqlByte Subtract(SqlByte x, SqlByte y)
 {
     return (x - y);
 }
Exemplo n.º 5
0
 public static SqlByte Xor(SqlByte x, SqlByte y)
 {
     return (x ^ y);
 }
Exemplo n.º 6
0
 public static SqlBoolean NotEquals(SqlByte x, SqlByte y)
 {
     return (x != y);
 }
Exemplo n.º 7
0
 public static SqlByte OnesComplement(SqlByte x)
 {
     return ~x;
 }
Exemplo n.º 8
0
 // Why did Microsoft add this method in 2.0???  What's 
 // the difference????
 public static SqlByte Modulus(SqlByte x, SqlByte y)
 {
     return (x%y);
 }
Exemplo n.º 9
0
 public static SqlByte Multiply(SqlByte x, SqlByte y)
 {
     return (x*y);
 }
Exemplo n.º 10
0
 public static SqlBoolean LessThan(SqlByte x, SqlByte y)
 {
     return (x < y);
 }
Exemplo n.º 11
0
 public static SqlBoolean LessThanOrEqual(SqlByte x, SqlByte y)
 {
     return (x <= y);
 }
Exemplo n.º 12
0
 public static SqlBoolean GreaterThanOrEqual(SqlByte x, SqlByte y)
 {
     return (x >= y);
 }
Exemplo n.º 13
0
 public static SqlBoolean GreaterThan(SqlByte x, SqlByte y)
 {
     return (x > y);
 }
Exemplo n.º 14
0
 public static SqlBoolean Equals(SqlByte x, SqlByte y)
 {
     return (x == y);
 }
Exemplo n.º 15
0
 public static SqlByte Divide(SqlByte x, SqlByte y)
 {
     return (x/y);
 }
Exemplo n.º 16
0
 public int CompareTo(SqlByte value)
 {
     if (value.IsNull)
     {
         return 1;
     }
     else
     {
         return this.value.CompareTo(value.Value);
     }
 }