Click or drag to resize

ILiteRepositoryEnsureIndexT, K(Expression, Void, FuncT, K) Method


Namespace: NeoAxis.LiteDB
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
bool EnsureIndex<T, K>(
	Expression keySelector,
	void unique = false,
	Func<T, K> collectionName = null
)

Parameters

keySelector  ExpressionTDelegate
 
unique  Void  (Optional)
 
collectionName  FuncT, K  (Optional)
 

Type Parameters

T
K

Return Value

Boolean
See Also