We're updating the issue view to help you get more done. 

QueryProviderBase.ExpressionTreeParser property has been replaced by QueryProviderBase.QueryParser

Description

The reason for this change is that QueryProviderBase does not control what IQueryParser is used to parse the queries. Therefore, it has no access to the ExpressionTreeParser (which might event not be used at all).

To access the MethodCallExpressionNodeTypeRegistry previously available via the ExpressionTreeParser, you have the following options:

  • If you create the QueryParser in your code, keep track of it and use its NodeTypeRegistry property (or the registry you passed in when creating the QueryParser).

  • If you use the constructor of QueryableBase that automatically creates the QueryParser, you can cast the value of the QueryProviderBase.QueryParser property to the QueryParser class and use that class's NodeTypeRegistry property.

Status

Assignee

Fabian Schmied

Reporter

Labels

None

Time tracking

0m

Components

Fix versions

Priority

Normal