Example #1
0
 protected override void GetEventData(Dictionary <string, object> data)
 {
     data["trigger.name"]          = TriggerName.FullName;
     data["trigger.eventType"]     = TriggerEventType.ToString();
     data["trigger.source"]        = SourceName.FullName;
     data["trigger.old.tableId"]   = OldRowId.TableId;
     data["trigger.old.rowNumber"] = OldRowId.RowNumber;
     data["trigger.new"]           = NewRow;
 }
Example #2
0
 public string ToString(bool debug = false)
 {
     return(_type.ToString() + " event: " + _condition.Description(debug));
 }