ComponentOne Data Source for Entity Framework
C1.LiveLinq.Indexing Namespace / IndexDefinition<T> Class / KeySelector Property

In This Topic
    KeySelector Property (IndexDefinition<T>)
    In This Topic
    Gets the expression used to obtain key value from an element of the indexed collection.
    Public ReadOnly Property KeySelector As System.Linq.Expressions.LambdaExpression
    public System.Linq.Expressions.LambdaExpression KeySelector {get;}

    Property Value

    An expression calculating the key value from an item (element of the collection). Typically, this is a field or a property in the item class, although more complex expressions can also be used.
    See Also