fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (8)
565internal static SqlInt64 GetSqlInt64( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData ) {
566SqlInt64 result;
569result = SqlInt64.Null;
581result = (SqlInt64) obj;
1084SqlInt64.Null, // SqlDbType.BigInt
1522internal static void SetSqlInt64( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, SqlInt64 value ) {
1624case ExtendedClrTypeCode.SqlInt64: SetSqlInt64_Unchecked( sink, setters, ordinal, (SqlInt64) value ); break;
3538private static void SetSqlInt64_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SqlInt64 value ) {
fx\src\data\System\Data\SqlClient\SqlEnums.cs (6)
324else if (dataType == typeof(SqlInt64))
398else if (sqlType == typeof(SqlInt64)) return SqlInt64.Null;
448else if (sqlVal is SqlInt64)
449comVal = ((SqlInt64)sqlVal).Value;
707(19, 255, 8, true, false, false, TdsEnums.SQLINT8, TdsEnums.SQLINTN, MetaTypeName.BIGINT, typeof(System.Int64), typeof(SqlInt64), SqlDbType.BigInt, DbType.Int64, 0);
fx\src\data\System\Data\SQLTypes\SQLInt64.cs (107)
94public static implicit operator SqlInt64(long x) {
102public static explicit operator long(SqlInt64 x) {
116public static SqlInt64 Parse(String s) {
118return SqlInt64.Null;
128public static SqlInt64 operator -(SqlInt64 x) {
135public static SqlInt64 operator ~(SqlInt64 x) {
146public static SqlInt64 operator +(SqlInt64 x, SqlInt64 y) {
160public static SqlInt64 operator -(SqlInt64 x, SqlInt64 y) {
174public static SqlInt64 operator *(SqlInt64 x, SqlInt64 y) {
235public static SqlInt64 operator /(SqlInt64 x, SqlInt64 y) {
252public static SqlInt64 operator %(SqlInt64 x, SqlInt64 y) {
270public static SqlInt64 operator &(SqlInt64 x, SqlInt64 y) {
277public static SqlInt64 operator |(SqlInt64 x, SqlInt64 y) {
284public static SqlInt64 operator ^(SqlInt64 x, SqlInt64 y) {
295public static explicit operator SqlInt64(SqlBoolean x) {
303public static implicit operator SqlInt64(SqlByte x) {
311public static implicit operator SqlInt64(SqlInt16 x) {
319public static implicit operator SqlInt64(SqlInt32 x) {
330public static explicit operator SqlInt64(SqlSingle x) {
345public static explicit operator SqlInt64(SqlDouble x) {
360public static explicit operator SqlInt64(SqlMoney x) {
368public static explicit operator SqlInt64(SqlDecimal x) {
370return SqlInt64.Null;
405public static explicit operator SqlInt64(SqlString x) {
418public static SqlBoolean operator==(SqlInt64 x, SqlInt64 y) {
425public static SqlBoolean operator!=(SqlInt64 x, SqlInt64 y) {
432public static SqlBoolean operator<(SqlInt64 x, SqlInt64 y) {
439public static SqlBoolean operator>(SqlInt64 x, SqlInt64 y) {
446public static SqlBoolean operator<=(SqlInt64 x, SqlInt64 y) {
453public static SqlBoolean operator>=(SqlInt64 x, SqlInt64 y) {
462public static SqlInt64 OnesComplement(SqlInt64 x) {
467public static SqlInt64 Add(SqlInt64 x, SqlInt64 y) {
471public static SqlInt64 Subtract(SqlInt64 x, SqlInt64 y) {
476public static SqlInt64 Multiply(SqlInt64 x, SqlInt64 y) {
481public static SqlInt64 Divide(SqlInt64 x, SqlInt64 y) {
486public static SqlInt64 Mod(SqlInt64 x, SqlInt64 y) {
490public static SqlInt64 Modulus(SqlInt64 x, SqlInt64 y) {
495public static SqlInt64 BitwiseAnd(SqlInt64 x, SqlInt64 y) {
500public static SqlInt64 BitwiseOr(SqlInt64 x, SqlInt64 y) {
505public static SqlInt64 Xor(SqlInt64 x, SqlInt64 y) {
510public static SqlBoolean Equals(SqlInt64 x, SqlInt64 y) {
515public static SqlBoolean NotEquals(SqlInt64 x, SqlInt64 y) {
520public static SqlBoolean LessThan(SqlInt64 x, SqlInt64 y) {
525public static SqlBoolean GreaterThan(SqlInt64 x, SqlInt64 y) {
530public static SqlBoolean LessThanOrEqual(SqlInt64 x, SqlInt64 y) {
535public static SqlBoolean GreaterThanOrEqual(SqlInt64 x, SqlInt64 y) {
589if (value is SqlInt64) {
590SqlInt64 i = (SqlInt64)value;
594throw ADP.WrongType(value.GetType(), typeof(SqlInt64));
597public int CompareTo(SqlInt64 value) {
615if (!(value is SqlInt64)) {
619SqlInt64 i = (SqlInt64)value;
678public static readonly SqlInt64 Null = new SqlInt64(true);
682public static readonly SqlInt64 Zero = new SqlInt64(0);
686public static readonly SqlInt64 MinValue = new SqlInt64(Int64.MinValue);
690public static readonly SqlInt64 MaxValue = new SqlInt64(Int64.MaxValue);