Esempio n. 1
0
 /// <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));
         }
     });
 }
Esempio n. 2
0
 private void _table_OnTableDataChanged(object sender, TableDataChangedEventArgs e)
 {
     OnTableDataChanged?.Invoke(this, e);
 }