Initializes a new instance of the Query class.

C# | Visual Basic |
public Query( Type entityType, QueryExpression queryExpression )
Public Sub New ( _ entityType As Type, _ queryExpression As QueryExpression _ )

- entityType (Type)
- Type of the entity.
- queryExpression (QueryExpression)
- The query expression.