private void NotifyTriggerEvent(IQueryContext context, TableEventContext tableEvent) { var tableName = tableEvent.Table.FullName; var eventType = tableEvent.EventType; var triggerEvent = new TriggerEvent(context.Session, TriggerName, tableName, eventType, tableEvent.OldRowId, tableEvent.NewRow); context.RegisterEvent(triggerEvent); }