/// <summary> /// Returns the column as a double /// </summary> /// <param name="i">The index of the column to retrieve</param> /// <returns>double</returns> public override double GetDouble(int i) { if (i >= VisibleFieldCount && _keyInfo != null) { return(_keyInfo.GetDouble(i - VisibleFieldCount)); } VerifyType(i, DbType.Double); return(_activeStatement._sql.GetDouble(_activeStatement, i)); }
/// <summary> /// Returns the column as a double /// </summary> /// <param name="i">The index of the column to retrieve</param> /// <returns>double</returns> public override double GetDouble(int i) { #if MONO_SUPPORT_KEYREADER if (i >= VisibleFieldCount && _keyInfo != null) { return(_keyInfo.GetDouble(i - VisibleFieldCount)); } #endif VerifyType(i, DbType.Double); return(_activeStatement._sql.GetDouble(_activeStatement, i)); }