deleteEntry method
Delete an entry from this table.
Implementation
Future<int> deleteEntry(T entry) async {
await entry.beforeDelete();
int result = 0;
var db = await _initializeDB();
result =
await db.delete(tableName, where: "$idColumnName=${entry.id.value}");
await entry.afterDelete();
_fireChangeListners(EntryChangeType.Deletion, entry);
return result;
}