コード例 #1
0
 public static ActionResult AnalyzerVersionSynch(Session session)
 {
     session.Log("Begin AnalyzerVersionSynch");
     try
     {
         var    vW          = new DbVersion();
         var    analyzerDir = session.GetTargetPath("INSTALLLOCATION") + @"Analyzer\";
         string er          = vW.UpdateProjectVersion(analyzerDir + "ArhAnalyzerProject.accdb", true);
         er += "\n" + vW.UpdateProjectVersion(analyzerDir + "ArhAnalyzerTemplates.accdb", true);
         er += "\n" + vW.UpdateProjectVersion(analyzerDir + "VedData.accdb", true);
         er += "\n" + vW.UpdateAnalyzerAppDataVersion(analyzerDir + "AppData.accdb", true);
         er += vW.UpdateArchiveVersion(analyzerDir + "ArhAnalyzerArchive.accdb", true);
     }
     catch (Exception exception)
     {
         exception.MessageError();
     }
     session.Log("End AnalyzerVersionSynch");
     return(ActionResult.Success);
 }