Пример #1
0
        public static string GetString(Expression expression)
        {
            var builder = new CriteriaStringBuilder();

            builder.Visit(expression);
            return(builder.StringBuilder.ToString());
        }
Пример #2
0
 public QueryDescriptionCacheKey(QueryDescription queryDescription)
 {
     CriteriaString = CriteriaStringBuilder.GetString(queryDescription.Criteria);
     _toString      = null;
 }