public static List<ArtefactInfo> Generate_Summary_XML(SDMXSchemaType schemaType, string agencyId, string language, Header header, string outputFolder, DIConnection DIConnection, DIQueries DIQueries) { List<ArtefactInfo> RetVal; CompositeUtility CompositeUtility; RetVal = null; CompositeUtility = null; try { if (language.Contains("_")) { language = language.Replace("_", ""); } CompositeUtility = new CompositeUtility(false, agencyId, language, header, outputFolder, null, null, DIConnection, DIQueries); RetVal = CompositeUtility.Generate_Artefact(); CompositeUtility.Save_Artefacts(RetVal); } catch (Exception ex) { RetVal = null; throw ex; } finally { } return RetVal; }
//, List<ArtefactInfo> Artefacts public static List<ArtefactInfo> Generate_Complete_XML(SDMXSchemaType schemaType, string agencyId, string language, Header header, string outputFolder, Dictionary<string, string> DictIndicator, Dictionary<string, string> DictIndicatorMapping, DIConnection DIConnection, DIQueries DIQueries,string IcType) { List<ArtefactInfo> RetVal; CompositeUtility CompositeUtility; RetVal = null; CompositeUtility = null; try { if (language.Contains("_")) { language = language.Replace("_",""); } CompositeUtility = new CompositeUtility(true, agencyId, language, header, outputFolder, DictIndicator, DictIndicatorMapping, DIConnection, DIQueries); RetVal = CompositeUtility.Generate_Artefact(IcType); // RetVal = CompositeUtility.Generate_CompleteArtefact(Artefacts); CompositeUtility.Save_Artefacts(RetVal); } catch (Exception ex) { RetVal = null; throw ex; } finally { } return RetVal; }