public Task AddDirectoryEntryAsync(string filename, long metadataid, DateTime lastModified) { return(RunOnMain(() => m_database.AddDirectoryEntry(filename, metadataid, lastModified, m_transaction))); }