private async void Db_AfterUpdate(object sender, AfterUpdateEventArgs e) { var _pending = (await Values.SQLidb.db.FindAsync <ScannedData>(r => r.Transmitted == false) != null); if (_pending != pendingData) { pendingData = _pending; } }
protected virtual void OnAfterUpdate(AfterUpdateEventArgs e) { EventHandler <AfterUpdateEventArgs> handler = AfterUpdate; if (handler != null) { handler(this, e); } }