private void UpdateSQL() { using (var triggerHandler = new TriggerHandler(Settings.Default.CurrentDatabase)) { var trigger = triggerHandler.GetTrigger(triggerName); SqlStatement = trigger.SqlStatement; } }
private void Initialize() { using (var triggerHandler = new TriggerHandler(Settings.Default.CurrentDatabase)) { var trigger = triggerHandler.GetTrigger(triggerName); Target = trigger.Target; sqlStatement = trigger.SqlStatement; } }