Example #1
0
 internal static void CompactDatabases()
 {
     try
     {
         using (var oData = new SQLiteDataObject(SettingsConnectionString))
         {
             oData.CompactDatabase();
         }
         using (var oData = new SQLiteDataObject(ConnectionString))
         {
             oData.CompactDatabase();
         }
     }
     catch (Exception ex)
     {
         PNStatic.LogException(ex);
     }
 }