public void BuildProcedure(DatabaseStoredProcedure storedProcedure) { try { var txt = _migrationGenerator.AddProcedure(storedProcedure); Clipboard.SetText(txt, TextDataFormat.UnicodeText); } catch (Exception exception) { Debug.WriteLine(exception.Message); } }
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()); }
public string AddProcedure(DatabaseStoredProcedure procedure) { return(_migration.AddProcedure(procedure)); }