Search code examples
c#windows-phonecoolstorage

How to delete all records in table using CoolStorage?


I use Vici CoolStorage for work with SQLite database in my Windows Phone application. How to delete all records in table?


Solution

  • I found my mistake. Correct query is CSDatabase.ExecuteNonQuery(@"DELETE FROM TempTable") instead of the previously used CSDatabase.ExecuteNonQuery(@"DELETE FROM TABLE TempTable")