public DocumentDbQueryableResource(DocumentDbQueryProvider provider, Expression expression) { this.provider = provider; this.expression = expression; }
public DocumentDbQueryableResource(DocumentDbMetadata dbMetadata, string connectionString, string collectionName, Type collectionType) { this._documentDbMetadata = dbMetadata; this.provider = new DocumentDbQueryProvider(dbMetadata, connectionString, collectionName, collectionType); this.expression = (new DSPResource[0]).AsQueryable().Expression; }