You are here: Configuration > Common Configuration > Changing The Reflector

Changing The Reflector

This setting allows you to change the reflector for db4o. The reflector is responsible to inspect the metadata of objects and report them to db4o. See "db4o Reflection API"

There are currently two reflectors available:

IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration();
configuration.Common.ReflectWith(new FastNetReflector());
CommonConfigurationExamples.cs: Change the reflector
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration()
configuration.Common.ReflectWith(New FastNetReflector())
CommonConfigurationExamples.vb: Change the reflector