/// <summary> /// Called if the database receive a message for this table /// </summary> /// <param name="result">The event data</param> internal void OnReceive(XElement result) { _disposeHelper.Do(() => { if (Schema.TryGetEventRows(result, out var rows, out var changeKind)) { OnTableDataChanged?.Invoke(this, new TableDataChangedEventArgs(rows, changeKind)); } }); }
private void _table_OnTableDataChanged(object sender, TableDataChangedEventArgs e) { OnTableDataChanged?.Invoke(this, e); }