示例#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));
        }
示例#2
0
        public string FormatearSQL_HTML(string Script)
        {
            BLFormatSQL formatter = new BLFormatSQL();

            return(formatter.FormatTSqlToHTML(Script));
        }