System.Data.ProviderBase.SchemaMapping.MappedIndex C# (CSharp) Method

MappedIndex() private method

private MappedIndex ( ) : void
return void
        private void MappedIndex()
        { // mode 2
            Debug.Assert(_mappedLength == _indexMap.Length, "incorrect precomputed length");

            int length = _mappedLength;
            for (int i = 0; i < length; i++)
            {
                int k = _indexMap[i];
                if (0 <= k)
                {
                    _mappedDataValues[k] = _readerDataValues[i]; // from reader to dataset
                }
            }
        }