예제 #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);
     }
 }
예제 #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());
        }
예제 #3
0
 public string DropTrigger(DatabaseTable databaseTable, DatabaseTrigger trigger)
 {
     return(_migration.DropTrigger(trigger));
 }