You are here: Configuration > Common Configuration > Name Provider

Name Provider

You can overwrite how the object-containers is named. This can be helpful for debugging multiple-container scenarios.

IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration();
configuration.Common.NameProvider(new SimpleNameProvider("Database"));
CommonConfigurationExamples.cs: set a name-provider
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration()
configuration.Common.NameProvider(New SimpleNameProvider("Database"))
CommonConfigurationExamples.vb: set a name-provider