System.Data.ProviderBase.FieldNameLookup.FieldNameLookup C# (CSharp) Method

FieldNameLookup() public method

public FieldNameLookup ( System columnNames, int defaultLocaleID ) : System.Collections
columnNames System
defaultLocaleID int
return System.Collections
        public FieldNameLookup(System.Collections.ObjectModel.ReadOnlyCollection<string> columnNames, int defaultLocaleID)
        {
            int length = columnNames.Count;
            string[] fieldNames = new string[length];
            for (int i = 0; i < length; ++i)
            {
                fieldNames[i] = columnNames[i];
                Debug.Assert(null != fieldNames[i]);
            }
            _fieldNames = fieldNames;
            _defaultLocaleID = defaultLocaleID;
            GenerateLookup();
        }

Same methods

FieldNameLookup::FieldNameLookup ( IDataRecord reader, int defaultLocaleID ) : System.Collections
FieldNameLookup::FieldNameLookup ( string fieldNames, int defaultLocaleID ) : System.Collections