示例#1
0
        public static bool Generate_MetadataReport(SDMXSchemaType schemaType, MetadataTypes metadataType, string filterNIds, string agencyId, string language, Header header, DIConnection DIConnection, DIQueries DIQueries, string outputFolder)
        {
            bool RetVal;
            MetadataReportUtility MetadataReportUtility;

            RetVal = false;
            MetadataReportUtility = null;

            try
            {
                MetadataReportUtility = new MetadataReportUtility(agencyId, language, header, DIConnection, DIQueries);
                RetVal = MetadataReportUtility.Generate_MetadataReport(metadataType, filterNIds, outputFolder);
            }
            catch (Exception ex)
            {
                RetVal = false;
                throw ex;
            }
            finally
            {
            }

            return RetVal;
        }
示例#2
0
        public static bool Generate_MetadataReport(SDMXSchemaType schemaType, MetadataTypes metadataType, string filterNIds, string agencyId, string language, Header header, DIConnection DIConnection, DIQueries DIQueries, string outputFolder, out List<string> GeneratedMetadataFiles, SDMXObjectModel.Message.StructureHeaderType Header)
        {
            bool RetVal;
            MetadataReportUtility MetadataReportUtility;

            RetVal = false;
            MetadataReportUtility = null;
            GeneratedMetadataFiles = new List<string>();
            try
            {
                MetadataReportUtility = new MetadataReportUtility(agencyId, language, header, DIConnection, DIQueries);
                RetVal = MetadataReportUtility.Generate_MetadataReport(metadataType, filterNIds, outputFolder,out GeneratedMetadataFiles,Header);
            }
            catch (Exception ex)
            {
                RetVal = false;
                throw ex;
            }
            finally
            {
            }

            return RetVal;
        }