public void DeleteCachedIdentity(string key)
{
string query = "delete from kvstore where key = @key ";
try
{
connection = new SqliteConnection("URI=file:" + filePath);
connection.Open();
using (var command = connection.CreateCommand())
{
command.CommandText = query;
BindData(command, key);
command.ExecuteNonQuery();
}
}
finally
{
if (connection != null)
{
connection.Close();
connection.Dispose();
}
}
}