/// <summary>
        /// Returns True if the specified column is null
        /// </summary>
        /// <param name="i">The index of the column to retrieve</param>
        /// <returns>True or False</returns>
        public override bool IsDBNull(int i)
        {
            if (i >= VisibleFieldCount && _keyInfo != null)
            {
                return(_keyInfo.IsDBNull(i - VisibleFieldCount));
            }

            return(_activeStatement._sql.IsNull(_activeStatement, i));
        }
Example #2
0
        /// <summary>
        /// Returns True if the specified column is null
        /// </summary>
        /// <param name="i">The index of the column to retrieve</param>
        /// <returns>True or False</returns>
        public override bool IsDBNull(int i)
        {
            CheckClosed();
#if MONO_SUPPORT_KEYREADER
            if (i >= VisibleFieldCount && _keyInfo != null)
            {
                return(_keyInfo.IsDBNull(i - VisibleFieldCount));
            }
#endif
            return(_activeStatement._sql.IsNull(_activeStatement, i));
        }