<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

Berkeley DB .NET API Documentation
Database..::.Put Method
Database Class See Also Send Feedback

If the database supports duplicates, add the new data value at the end of the duplicate set. If the database supports sorted duplicates, the new data value is inserted at the correct sorted location.

# Overload List

| Name | Description
--- | --- | ---
| Put(MultipleKeyDatabaseEntry) | Store multiple data items using keys from the buffer to which the key parameter refers and data values from the buffer to which the data parameter refers. A successful bulk operation is logically equivalent to a loop through each key/data pair, performing a Put for each one.
| Put(DatabaseEntry, DatabaseEntry) | Store the key/data pair in the database, replacing any previously existing key if duplicates are disallowed, or adding a duplicate data item if duplicates are allowed.
| Put(MultipleKeyDatabaseEntry, Transaction) | Store multiple data items using keys from the buffer to which the key parameter refers and data values from the buffer to which the data parameter refers. A successful bulk operation is logically equivalent to a loop through each key/data pair, performing a Put for each one.
| Put(DatabaseEntry, DatabaseEntry, Transaction) | Store the key/data pair in the database, replacing any previously existing key if duplicates are disallowed, or adding a duplicate data item if duplicates are allowed.

# See Also

Database Class
Database Members
BerkeleyDB Namespace