Show / Hide Table of Contents

Class LetOptimizer

Optimizer that coalesces let clauses and flattens the transparent identifiers.

Inheritance
System.Object
LetOptimizer
Implements
IOptimizer
Namespace: System.Linq.CompilerServices.Optimizers
Assembly: Nuqleon.Linq.CompilerServices.Optimizers.dll
Syntax
public class LetOptimizer : Object, IOptimizer

Constructors

LetOptimizer()

Declaration
public LetOptimizer()

Methods

Optimize(QueryTree)

Coalesces let clauses and flattens the transparent identifiers in the original query.

Declaration
public QueryTree Optimize(QueryTree queryTree)
Parameters
Type Name Description
QueryTree queryTree

The query to optimize.

Returns
Type Description
QueryTree

The query with the let clauses coalesced and types flattened.

Implements

IOptimizer
In This Article
Back to top Generated by DocFX