コード例 #1
0
        // 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));
        }
コード例 #2
0
 public object Execute(Expression expression)
 {
     return(TerraServerQueryContext.Execute(expression, false));
 }