/// <inheritdoc />
        public override string GetName(int ordinal)
        {
            EnsureInitialized();
            AssertReaderIsOpen("GetName");
            string result;

            if (_dataRecord.HasData)
            {
                result = _dataRecord.GetName(ordinal);
            }
            else
            {
                result = _defaultRecordState.GetName(ordinal);
            }
            return(result);
        }