All updates to Primary will be automatically reflected in the secondary and all reads from the secondary will return corresponding data from Primary.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version: 5.2.28.0

Syntax

C#
public Database Primary { get; set; }
Visual Basic (Declaration)
Public Property Primary As Database
Visual C++
public:
property Database^ Primary {
	Database^ get ();
	void set (Database^ value);
}

Remarks

Note that as primary keys must be unique for secondary indices to work, Primary must have been configured with NONE.

See Also