Ejemplo n.º 1
0
 public static SettingsModel SaveExportMapping(AuthenticatedUserManager user, string reportPath, string procName, string displayOption)
 {
     SettingsModel.ReportPath = string.Empty;
     ExportMapManager manager = new ExportMapManager(user);
     BOExportMap exportMap = new BOExportMap();
     exportMap.ProcName = procName;
     exportMap.ReportPath = reportPath;
     exportMap.DisplayOptions = displayOption;
     exportMap.DataSourcePath = manager.LookupDataSourceFromRdl(reportPath);
     exportMap.Save(user.AuthenticatedUserSignature);
     return SettingsModel.GetExportMappings(user);
 }
Ejemplo n.º 2
0
 public void FillReportStoredProcedures(AuthenticatedUserManager user, string reportPath)
 {
     ExportMapManager exportMapManager = new ExportMapManager(user);
     _reportStoredProcedures = exportMapManager.LookupStoredProcFromRdl(reportPath);
 }
Ejemplo n.º 3
0
 public static SettingsModel DeleteExportMapping(AuthenticatedUserManager user, string reportPath)
 {
     SettingsModel.ReportPath = string.Empty;
     BOExportMap exportMap = new BOExportMap();
     ExportMapManager manager = new ExportMapManager(user);
     exportMap = manager.FindAssociatedExportMap(reportPath, false);
     exportMap.Delete();
     return SettingsModel.GetExportMappings(user);
 }