public void BuildFunction(DatabaseFunction databaseFunction) { try { var txt = _migrationGenerator.AddFunction(databaseFunction); Clipboard.SetText(txt, TextDataFormat.UnicodeText); } catch (Exception exception) { Debug.WriteLine(exception.Message); } }
public string BuildFunction(DatabaseFunction databaseFunction) { StringBuilder sb = new StringBuilder(); try { sb.AppendLine(m_migrationGenerator.AddFunction(databaseFunction)); } catch (Exception exception) { Debug.WriteLine(exception.Message); } return(sb.ToString()); }
public string AddFunction(DatabaseFunction function) { return(_migration.AddFunction(function)); }