示例#1
0
 public static SqlInt64 Xor(SqlInt64 x, SqlInt64 y)
 {
     return (x ^ y);
 }
示例#2
0
 public static SqlInt64 Add(SqlInt64 x, SqlInt64 y)
 {
     return (x + y);
 }
示例#3
0
        public static SqlInt64 OnesComplement(SqlInt64 x)
        {
            if (x.IsNull)
            {
                return Null;
            }

            return ~x;
        }
示例#4
0
 public static SqlInt64 Subtract(SqlInt64 x, SqlInt64 y)
 {
     return (x - y);
 }
示例#5
0
 public static SqlInt64 Multiply(SqlInt64 x, SqlInt64 y)
 {
     return (x*y);
 }
示例#6
0
 public static SqlBoolean NotEquals(SqlInt64 x, SqlInt64 y)
 {
     return (x != y);
 }
示例#7
0
 public static SqlBoolean LessThanOrEqual(SqlInt64 x, SqlInt64 y)
 {
     return (x <= y);
 }
示例#8
0
 private int CompareSqlInt64(SqlInt64 value)
 {
     if (value.IsNull)
     {
         return 1;
     }
     else
     {
         return this.value.CompareTo(value.Value);
     }
 }
示例#9
0
 public static SqlBoolean GreaterThanOrEqual(SqlInt64 x, SqlInt64 y)
 {
     return (x >= y);
 }
示例#10
0
 public static SqlBoolean LessThan(SqlInt64 x, SqlInt64 y)
 {
     return (x < y);
 }
示例#11
0
 public static SqlBoolean GreaterThan(SqlInt64 x, SqlInt64 y)
 {
     return (x > y);
 }
示例#12
0
 public static SqlBoolean Equals(SqlInt64 x, SqlInt64 y)
 {
     return (x == y);
 }
示例#13
0
 public static SqlInt64 Divide(SqlInt64 x, SqlInt64 y)
 {
     return (x/y);
 }
示例#14
0
 public static SqlInt64 BitwiseAnd(SqlInt64 x, SqlInt64 y)
 {
     return (x & y);
 }
示例#15
0
 public static SqlInt64 Modulus(SqlInt64 x, SqlInt64 y)
 {
     return (x%y);
 }
示例#16
0
 public static SqlInt64 BitwiseOr(SqlInt64 x, SqlInt64 y)
 {
     return (x | y);
 }
示例#17
0
 public int CompareTo(SqlInt64 value)
 {
     return this.CompareSqlInt64(value);
 }