Beispiel #1
0
        public string FormatearSQL_TextoSimple(string Script, int TabSpaces = 4)
        {
            BLFormatSQL formatter = new BLFormatSQL();
            string      formatted = formatter.FormatTSqlToString(Script);
            string      tabs      = "";

            for (int w = 0; w < TabSpaces; w++)
            {
                tabs += " ";
            }

            return(formatted.Replace("\t", tabs));
        }
Beispiel #2
0
        public string FormatearSQL_HTML(string Script)
        {
            BLFormatSQL formatter = new BLFormatSQL();

            return(formatter.FormatTSqlToHTML(Script));
        }