public System.Collections.IEnumerator GetEnumerator() { CallOrder.APICallLog.Current.Add("NonClrQueryable.GetEnumerator"); try { // Remove LateBound methods from expression Expression newExpression = LateBoundToClrConverter.ToClrExpression(this.queryable.Expression, this.provider.Provider); return(new Providers.EnumeratorWrapper(this.provider.realProvider.CreateQuery(newExpression).GetEnumerator())); } finally { CallOrder.APICallLog.Current.Pop(); } }
public object Execute(System.Linq.Expressions.Expression expression) { System.Linq.Expressions.Expression newExpression = LateBoundToClrConverter.ToClrExpression(expression, this.Provider); return(this.realProvider.Execute(newExpression)); }