コード例 #1
0
        /// <summary>
        /// Retrieves the column as a string
        /// </summary>
        /// <param name="i">The index of the column to retrieve</param>
        /// <returns>string</returns>
        public byte[] GetStringBytes(int i)
        {
            if (i >= VisibleFieldCount && _keyInfo != null)
            {
                return(_keyInfo.GetStringBytes(i - VisibleFieldCount));
            }

            VerifyType(i, DbType.String);
            return(_activeStatement._sql.GetTextBytes(_activeStatement, i));
        }