The function that creates the set of secondary keys corresponding to a given primary key and data pair. To create multiple secondary keys, return a MultipleDatabaseEntry.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0

Syntax

C#
public delegate DatabaseEntry SecondaryKeyGenDelegate(
	DatabaseEntry key,
	DatabaseEntry data
)
Visual Basic (Declaration)
Public Delegate Function SecondaryKeyGenDelegate ( _
	key As DatabaseEntry, _
	data As DatabaseEntry _
) As DatabaseEntry
Visual C++
public delegate DatabaseEntry^ SecondaryKeyGenDelegate(
	DatabaseEntry^ key, 
	DatabaseEntry^ data
)

Parameters

key
Type: BerkeleyDB..::.DatabaseEntry
The primary key
data
Type: BerkeleyDB..::.DatabaseEntry
The primary data item

Return Value

The secondary key(s)

See Also