public void ValueChanged(object sender, ValueChangedEventArgs e) { if (!modified) //log UPDATE, does not log INSERT/DELETE here return; if (log_row_id == -1) return; // throw new ApplicationException("Log Table has not been not ready yet."); this.logee.LogColumn(log_row_id, this.tableName, this.tableId, e.columnName, e.originValue, e.value); }
/// <summary> /// fire ValueChanged event when any values changed /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected override void ValueChanged(object sender, ValueChangedEventArgs e) { if (this.logger == null) return; logger.ValueChanged(sender, e); }
protected virtual void ValueChanged(object sender, ValueChangedEventArgs e) { }