ComponentOne Data Source for Entity Framework
C1.LiveLinq Namespace / CompiledQuery Class

In This Topic
    CompiledQuery Class
    In This Topic
    Provides for compilation and cache of queries for reuse.
    Object Model
    CompiledQuery Class
    Public MustInherit NotInheritable Class CompiledQuery 
    public static class CompiledQuery 
    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


    See Also