private void _DirectoryMonitor_MonitoredFileDeleted(object sender, MonitoredFileDeletedArgs e) { try { m_database.Delete("FileCache", new DBPredicate("path", DBOperator.EQUALS, e.OldPath)); } catch (Exception crap) { Settings.SessionLog += crap.Message + "\n"; Debug.WriteLine(crap.Message); } }