/// <summary>
        /// Add External reference into SdmxObject
        /// </summary>
        public override void AddReferences()
        {
            try
            {
                MetadataReferences.ReferenceTreeEnum structType = MetadataReferences.ReferenceTreeEnum.CategoryScheme;
                if (ParsingObject.SdmxStructureType == SdmxStructureEnumType.Categorisation)
                {
                    structType = MetadataReferences.ReferenceTreeEnum.Categorisation;
                }

                RetrievalReferences Mr = new RetrievalReferences(this);
                Mr.ReferencesObject = this.CatManager.ReferencesObject;


                Mr.AddReferences(structType);
                //Destroy Obj
                Mr         = null;
                CatManager = null;
            }
            catch (SdmxException) { throw; }
            catch (Exception ex)
            {
                throw new SdmxException(this, FlyExceptionObject.FlyExceptionTypeEnum.AddReferences, ex);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Add External reference into SdmxObject
        /// </summary>
        public override void AddReferences()
        {
            try
            {
                RetrievalReferences Mr = new RetrievalReferences(this);
                Mr.ReferencesObject = this.DataflowManager.ReferencesObject;

                Mr.AddReferences(MetadataReferences.ReferenceTreeEnum.Dataflow);
                //Destroy Obj
                Mr = null;
                DataflowManager = null;
            }
            catch (SdmxException) { throw; }
            catch (Exception ex)
            {
                throw new SdmxException(this, FlyExceptionObject.FlyExceptionTypeEnum.AddReferences, ex);
            }
        }