/// <summary>
        /// Returns the column as a Guid
        /// </summary>
        /// <param name="i">The index of the column to retrieve</param>
        /// <returns>Guid</returns>
        public override Guid GetGuid(int i)
        {
            if (i >= VisibleFieldCount && _keyInfo != null)
            {
                return(_keyInfo.GetGuid(i - VisibleFieldCount));
            }

            TypeAffinity affinity = VerifyType(i, DbType.Guid);

            if (affinity == TypeAffinity.Blob)
            {
                byte[] buffer = new byte[16];
                _activeStatement._sql.GetBytes(_activeStatement, i, 0, buffer, 0, 16);
                return(new Guid(buffer));
            }
            else
            {
                return(new Guid(_activeStatement._sql.GetText(_activeStatement, i)));
            }
        }