[]
        
(Showing Draft Content)

C1.LiveLinq.Hints

Hints Class

Provides a static (extension) method used as a hint that can be applied to an expression (usually, a property) in a query.

Inheritance
Hints
Namespace: C1.LiveLinq
Assembly: C1.LiveLinq.4.8.dll
Syntax
public static 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.

Properties

Name Description
DefaultAction

Gets or sets the default action for indexing hints.

Methods

Name Description
Indexed<T>(T)

A hint with default action.

Indexed<T>(T, IndexingHintAction)

A hint with specified action.