Policy for duplicate data items in the database; that is, whether insertion when the key of the key/data pair being inserted already exists in the database will be successful.

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

Syntax

C#
public enum DuplicatesPolicy
Visual Basic (Declaration)
Public Enumeration DuplicatesPolicy
Visual C++
public enum class DuplicatesPolicy

Members

Member nameDescription
NONE
Insertion when the key of the key/data pair being inserted already exists in the database will fail.
SORTED
Duplicates are allowed and mainted in sorted order, as determined by the duplicate comparison function.
UNSORTED
Duplicates are allowed and ordered in the database by the order of insertion, unless the ordering is otherwise specified by use of a cursor operation or a duplicate sort function.

See Also