Provides for compilation and cache of queries for reuse.

Namespace:  C1.LiveLinq
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public static class CompiledQuery
Visual Basic
Public NotInheritable Class CompiledQuery

Remarks

If you need to execute the same query many times, each time with different parameter values, use the CompiledQuery class to improve performance. Without it, every query execution includes a compilation stage, that does not take much time but that time can accumulate to significant numbers if it is repeated many times. The CompiledQuery class contains a single Compile method with several overloads. Call the Compile method to create a delegate to represent the compiled query.

Inheritance Hierarchy

System..::..Object
  C1.LiveLinq..::..CompiledQuery

See Also