You are here: Configuration > Class Specific Configuration > Generate UUIDs

Generate UUIDs

Generate UUIDs for instances of this type. UUIDs are mainly used for replication.

IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration();
configuration.Common.ObjectClass(typeof (Person)).GenerateUUIDs(true);
ObjectConfigurationExamples.cs: Generate uuids for this type
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration()
configuration.Common.ObjectClass(GetType(Person)).GenerateUUIDs(True)
ObjectConfigurationExamples.vb: Generate uuids for this type