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

In This Topic
    Hints Class
    In This Topic
    Provides a static (extension) method used as a hint that can be applied to an expression (usually, a property) in a query.
    Object Model
    Hints Class
    Public MustInherit NotInheritable Class Hints 
    public static class Hints 

    A hint does not change the value of the expression it is applied to, it only tells LiveLinq to create and use an index on that property, if possible.

    Note: Hints can only be used in indexed queries (with AsIndexed() extension method). Using them in live views (with AsLive() extension method) will result in an exception.

    See How to create indexes.
    Inheritance Hierarchy


    See Also