WebApplications.Testing.Data.ObjectRecord.GetInt64 C# (CSharp) Method

GetInt64() public method

public GetInt64 ( int i ) : long
i int
return long
        public long GetInt64(int i)
        {
            if ((i < 0) ||
                (i > FieldCount))
                throw new IndexOutOfRangeException(i.ToString(CultureInfo.InvariantCulture));
            object o = _columnValues[i];
            if (o == null)
                throw new SqlNullValueException();
            if (!(o is long))
                throw new InvalidCastException();
            return (long)o;
        }