AppendCallback Property

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
RecnoDatabase..::.AppendCallback Property
RecnoDatabase Class See Also Send Feedback

A function to call after the record number has been selected but before the data has been stored into the database.

Namespace: BerkeleyDB
Assembly: libdb_dotnet51 (in libdb_dotnet51.dll) Version: 5.1.22.0

# Syntax

C#
    public AppendRecordDelegate AppendCallback { get; set; }

Visual Basic (Declaration)
    Public Property AppendCallback As AppendRecordDelegate

Visual C++
    public:
    property AppendRecordDelegate^ AppendCallback {
    	AppendRecordDelegate^ get ();
    	void set (AppendRecordDelegate^ value);
    }

# Remarks

When using Append(DatabaseEntry), it may be useful to modify the stored data based on the generated key. If a delegate is specified, it will be called after the record number has been selected, but before the data has been stored.

# See Also

RecnoDatabase Class
BerkeleyDB Namespace