How do I treat the SQLiteCommand object, do I have to call Dispose() after ExecuteScalar, ExecuteNonQuery
SQLiteCommand
Dispose()
ExecuteScalar
ExecuteNonQuery
If it is disposable, dispose it if you will not use it again. The best would be, to use using
using(SQLiteCommand cmd as new SQLiteCoammand()) { ... }
So it will be disposed automatically when leaving the using scope.