Xamarin Forms delete from sqlite database
<p>I have a class Announcement, and I have a list of id, I am using the nuget package: sqlite-net-pcl.
How can I delete an announcement from my Announcement table if I have it id. I am trynig to use linq like: await connection.DeleteAsync(announcement).Where(...)
but I can't use Where with the DeleteAsync, so I tried </p>

<pre><code>var query = connection.Table&lt;Announcement&gt;().Where(announcement=&gt;announcement.AnnouncementId == announcementId)
</code></pre>

<p>it gives me this erro :System.NotSupportedException: Cannot delete AsyncTableQuery`1: it has no PK</p>