Пример #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);
 }