public static string GetString(Expression expression)
        {
            var builder = new CriteriaStringBuilder();

            builder.Visit(expression);
            return(builder.StringBuilder.ToString());
        }
 public QueryDescriptionCacheKey(QueryDescription queryDescription)
 {
     CriteriaString = CriteriaStringBuilder.GetString(queryDescription.Criteria);
     _toString      = null;
 }