Ejemplo n.º 1
0
        // used by client to create the first query
        internal TableQuery(CloudTable table)
            : base()
        {
            this.queryProvider = new TableQueryProvider(table);

            // TODO can base expression be non constant?
            this.queryExpression =
                new ResourceSetExpression(typeof(IOrderedQueryable <TElement>), null, Expression.Constant("0"), typeof(TElement), null, CountOption.None, null, null);
        }
Ejemplo n.º 2
0
 // Used by iqueryable on subsequent expression updates to update expression / provider
 internal TableQuery(Expression queryExpression, TableQueryProvider queryProvider)
 {
     this.queryProvider   = queryProvider;
     this.queryExpression = queryExpression;
 }