async Task<File> GetFile(string Name, int DirectoryId)
{
//
// Select File with FolderRelativeId
//
var file = await Dbconnection.QueryAsync<File>("SELECT * FROM Files WHERE Name = \"" + Name +
"\" AND DirectoryId = " + DirectoryId);
//
// If the select find a matching file return the File else return null
//
return (file.Count > 0) ? file.First<File>() : null;
}