Ejemplo n.º 1
0
 public void BuildAddTrigger(DatabaseTable databaseTable, DatabaseTrigger trigger)
 {
     try
     {
         var txt = _migrationGenerator.AddTrigger(databaseTable, trigger);
         Clipboard.SetText(txt, TextDataFormat.UnicodeText);
     }
     catch (Exception exception)
     {
         Debug.WriteLine(exception.Message);
     }
 }
Ejemplo n.º 2
0
        public string BuildAddTrigger(DatabaseTable databaseTable, DatabaseTrigger trigger)
        {
            StringBuilder sb = new StringBuilder();

            try
            {
                sb.Append(m_migrationGenerator.AddTrigger(databaseTable, trigger));
            }
            catch (Exception exception)
            {
                Debug.WriteLine(exception.Message);
            }
            return(sb.ToString());
        }
Ejemplo n.º 3
0
 public string AddTrigger(DatabaseTable databaseTable, DatabaseTrigger trigger)
 {
     return(_migration.AddTrigger(databaseTable, trigger));
 }