Sets the maximum activation depth for this type. Useful to avoid accidentally activating large objects.
IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration(); configuration.Common.ObjectClass(typeof (Person)).MaximumActivationDepth(5);
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration() configuration.Common.ObjectClass(GetType(Person)).MaximumActivationDepth(5)