Exemplo n.º 1
0
        public bool ImportToNewFeatureclass(IFeatureDataset destDS, string fcname, IFeatureClass sourceFC, FieldTranslation fieldTranslation, bool project, List <IQueryFilter> filters)
        {
            if (destDS == null)
            {
                return(false);
            }

            DatasetNameCase nameCase = DatasetNameCase.ignore;

            foreach (System.Attribute attribute in System.Attribute.GetCustomAttributes(destDS.GetType()))
            {
                if (attribute is UseDatasetNameCase)
                {
                    nameCase = ((UseDatasetNameCase)attribute).Value;
                }
            }
            return(ImportToNewFeatureclass(destDS, fcname, sourceFC, fieldTranslation, project, filters, nameCase));
        }