private void GetFieldNameMapping(out string[] dbfNames, out string[] uniqueNames)
        {
            MapFieldNameCollection mapFieldNames = m_shapefile.MapFieldNames;

            if (mapFieldNames == null)
            {
                dbfNames    = null;
                uniqueNames = null;
                return;
            }
            dbfNames    = new string[mapFieldNames.Count];
            uniqueNames = new string[mapFieldNames.Count];
            for (int i = 0; i < mapFieldNames.Count; i++)
            {
                string fieldName = GetFieldName(mapFieldNames[i]);
                dbfNames[i]    = fieldName;
                uniqueNames[i] = SpatialDataMapper.GetUniqueFieldName(m_mapVectorLayer.Name, fieldName);
            }
        }
        private FieldInfo[] GetNonSpatialFieldInfos()
        {
            MapFieldNameCollection mapFieldNames = m_spatialDataSet.MapFieldNames;

            if (mapFieldNames == null)
            {
                return(null);
            }
            FieldInfo[] array = new FieldInfo[mapFieldNames.Count];
            for (int i = 0; i < mapFieldNames.Count; i++)
            {
                FieldInfo fieldInfo = new FieldInfo();
                string    fieldName = GetFieldName(mapFieldNames[i]);
                fieldInfo.UniqueName      = GetUniqueFieldName(fieldName);
                fieldInfo.Index           = GetFieldIndex(fieldName);
                fieldInfo.DefinitionAdded = false;
                array[i] = fieldInfo;
            }
            return(array);
        }