示例#1
0
 public virtual string Format(string source)
 {
     try
     {
         using (var fp = new FormatProcess(source))
             return(fp.Perform());
     }
     catch (Exception e)
     {
         Logger.Warn(e, "Unable to format provided SQL: {0}", source);
         return(source);
     }
 }
 public virtual string Format(string source)
 {
     using (var fp = new FormatProcess(source))
         return(fp.Perform());
 }