Exemple #1
0
 public void BuildDropTrigger(DatabaseTrigger trigger)
 {
     try
     {
         var txt = _migrationGenerator.DropTrigger(trigger);
         Clipboard.SetText(txt, TextDataFormat.UnicodeText);
     }
     catch (Exception exception)
     {
         Debug.WriteLine(exception.Message);
     }
 }
Exemple #2
0
        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());
        }
Exemple #3
0
 public string DropTrigger(DatabaseTable databaseTable, DatabaseTrigger trigger)
 {
     return(_migration.DropTrigger(trigger));
 }