Provides a static (extension) method used as a hint that can be applied to an expression (usually, a property) in a query.
Namespace:
C1.LiveLinqAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
public static class Hints |
Visual Basic |
---|
<ExtensionAttribute> _ Public NotInheritable Class Hints |
Remarks
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.