Exemplo n.º 1
0
        /// <summary>
        /// Lists the type of the Snapshot import file.
        /// </summary>
        /// <returns>The dataset containing the Snapshot Import FileType</returns>
        public static F23500SnapshotTemplate ListSnapshotImportFileType()
        {
            F23500SnapshotTemplate SnapshotImportData = new F23500SnapshotTemplate();
            Hashtable ht = new Hashtable();

            Utility.LoadDataSet(SnapshotImportData.ListSnapshotImportFileType, "f23500_pclst_SnapshotImportFileType", ht);
            return(SnapshotImportData);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Gets the Snapshot import template.
        /// </summary>
        /// <param name="templateId">The template id.</param>
        /// <returns>The dataset containing the Snapshot Import information based on templateId</returns>
        public static F23500SnapshotTemplate GetSnapshotImportTemplate(int templateId)
        {
            F23500SnapshotTemplate SnapshotImpotTemplateData = new F23500SnapshotTemplate();
            Hashtable ht = new Hashtable();

            ht.Add("@TemplateID", templateId);
            Utility.LoadDataSet(SnapshotImpotTemplateData.GetSnapshotImportTemplate, "f23500_pcget_SnapshotImportTemplate", ht);
            return(SnapshotImpotTemplateData);
        }