Пример #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));
        }