// Queryable's "single value" standard query operators call this method.
        // It is also called from QueryableTerraServerData.GetEnumerator().
        public TResult Execute <TResult>(Expression expression)
        {
            bool IsEnumerable = (typeof(TResult).Name == "IEnumerable`1");

            return((TResult)TerraServerQueryContext.Execute(expression, IsEnumerable));
        }
 public object Execute(Expression expression)
 {
     return(TerraServerQueryContext.Execute(expression, false));
 }