public void BuildDropTrigger(DatabaseTrigger trigger) { try { var txt = _migrationGenerator.DropTrigger(trigger); Clipboard.SetText(txt, TextDataFormat.UnicodeText); } catch (Exception exception) { Debug.WriteLine(exception.Message); } }
public string BuildDropTrigger(DatabaseTrigger trigger) { StringBuilder sb = new StringBuilder(); try { sb.Append(m_migrationGenerator.DropTrigger(trigger)); } catch (Exception exception) { Debug.WriteLine(exception.Message); } return(sb.ToString()); }
public string DropTrigger(DatabaseTable databaseTable, DatabaseTrigger trigger) { return(_migration.DropTrigger(trigger)); }