Exemple #1
0
 public void BuildProcedure(DatabaseStoredProcedure storedProcedure)
 {
     try
     {
         var txt = _migrationGenerator.AddProcedure(storedProcedure);
         Clipboard.SetText(txt, TextDataFormat.UnicodeText);
     }
     catch (Exception exception)
     {
         Debug.WriteLine(exception.Message);
     }
 }
Exemple #2
0
        public string BuildProcedure(DatabaseStoredProcedure storedProcedure)
        {
            StringBuilder sb = new StringBuilder();

            try
            {
                sb.AppendLine(m_migrationGenerator.AddProcedure(storedProcedure));
            }
            catch (Exception exception)
            {
                Debug.WriteLine(exception.Message);
            }
            return(sb.ToString());
        }
Exemple #3
0
 public string AddProcedure(DatabaseStoredProcedure procedure)
 {
     return(_migration.AddProcedure(procedure));
 }