Example #1
0
 public static SqlByte BitwiseOr(SqlByte x, SqlByte y)
 {
     return (x | y);
 }
Example #2
0
 public static SqlByte Add(SqlByte x, SqlByte y)
 {
     return (x + y);
 }
Example #3
0
 public static SqlByte BitwiseAnd(SqlByte x, SqlByte y)
 {
     return (x & y);
 }
Example #4
0
 public static SqlByte Subtract(SqlByte x, SqlByte y)
 {
     return (x - y);
 }
Example #5
0
 public static SqlByte Xor(SqlByte x, SqlByte y)
 {
     return (x ^ y);
 }
Example #6
0
 public static SqlBoolean NotEquals(SqlByte x, SqlByte y)
 {
     return (x != y);
 }
Example #7
0
 public static SqlByte OnesComplement(SqlByte x)
 {
     return ~x;
 }
Example #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);
 }
Example #9
0
 public static SqlByte Multiply(SqlByte x, SqlByte y)
 {
     return (x*y);
 }
Example #10
0
 public static SqlBoolean LessThan(SqlByte x, SqlByte y)
 {
     return (x < y);
 }
Example #11
0
 public static SqlBoolean LessThanOrEqual(SqlByte x, SqlByte y)
 {
     return (x <= y);
 }
Example #12
0
 public static SqlBoolean GreaterThanOrEqual(SqlByte x, SqlByte y)
 {
     return (x >= y);
 }
Example #13
0
 public static SqlBoolean GreaterThan(SqlByte x, SqlByte y)
 {
     return (x > y);
 }
Example #14
0
 public static SqlBoolean Equals(SqlByte x, SqlByte y)
 {
     return (x == y);
 }
Example #15
0
 public static SqlByte Divide(SqlByte x, SqlByte y)
 {
     return (x/y);
 }
Example #16
0
 public int CompareTo(SqlByte value)
 {
     if (value.IsNull)
     {
         return 1;
     }
     else
     {
         return this.value.CompareTo(value.Value);
     }
 }