ScalarExpression
Overview
The ScalarExpression class is used to process scalar subqueries in DA LINQ. Scalar is a kind of subquery that returns a single row. This type of expression is used by the AggregateSubqueryExpression class at the intermediate stage of processing and represents the simple part of a more complicated expression.
For example:
select * from T1
where T1.a > (select max(T2.a) from T2 where T2.b < T1.b)
The LINQ provider will transform the part "select max(T2.a) from T2 where T2.b < T1.b" into an instance of the ScalarExpression.
For internal use only.
Location
- Reference: RemObjects.DataAbstract.dll
- Namespace: RemObjects.DataAbstract.Linq
- Ancestry: SubqueryExpression | ScalarExpression
Instance Methods
constructor
constructor(type: Type; select: SelectExpression)
ScalarExpression(Type type, SelectExpression select)
Sub New(type As Type, select As SelectExpression)
Parameters:
- type:
- select:
AggregateSubqueryExpression