private void NotifyOfEvent(DatabaseEvent.EAction action, ITableRow row) { ion.PostToMain(() => { if (onDatabaseEvent != null) { onDatabaseEvent(this, new DatabaseEvent(action, row.GetType(), row._id)); } }); }