'Declaration
Public Overloads Shadows Function Add(Of TKey)( _ ByVal keySelector As System.Linq.Expressions.Expression(Of Func(Of T,TKey)), _ ByVal keyIsUnque As System.Boolean _ ) As Index(Of T,TKey)
public new Index<T,TKey> Add<TKey>( System.Linq.Expressions.Expression<Func<T,TKey>> keySelector, System.bool keyIsUnque )
Parameters
- keySelector
- Key selector expression of the index, see IndexDefinition<T>.KeySelector.
- keyIsUnque
- true if a unique index must be created.
Type Parameters
- TKey
- The type of the index key.
Return Value
The new index added to the collection of indexes.