internal WebQuery(HttpClient client, Uri relativeAddress, IExpressionToUriConverter converter)
        {
            string resourceBaseAddress = null;
            string resourceFullAddress = Utility.CombineUri(client.BaseAddress.AbsoluteUri, relativeAddress.OriginalString);
            string resourceName        = ExtractResourceName(resourceFullAddress, out resourceBaseAddress);

            this.expression = new ResourceSetExpression(typeof(IOrderedQueryable <T>), null, Expression.Constant(resourceName), typeof(T), null, CountOption.None, null, null);
            this.provider   = new WebQueryProvider(resourceBaseAddress, client, converter);
        }
 internal WebQuery(Expression expression, WebQueryProvider provider)
 {
     this.provider   = provider;
     this.expression = expression;
 }
 internal WebOrderedQuery(Expression expression, WebQueryProvider provider)
     : base(expression, provider)
 {
 }