db4o

IConfiguration.CallConstructors Method 

advises db4o to try instantiating objects with/without calling constructors.

void CallConstructors(
   bool flag
);

Parameters

flag
- specify true, to request calling constructors, specify false to request not calling constructors.

Remarks

advises db4o to try instantiating objects with/without calling constructors.

Not all JDKs / .NET-environments support this feature. db4o will attempt, to follow the setting as good as the enviroment supports. In doing so, it may call implementation-specific features like sun.reflect.ReflectionFactory#newConstructorForSerialization on the Sun Java 1.4.x/5 VM (not available on other VMs) and FormatterServices.GetUninitializedObject() on the .NET framework (not available on CompactFramework). This setting may also be overridden for individual classes in Db4objects.Db4o.Config.IObjectClass.CallConstructor .

The default setting depends on the features supported by your current environment.

See Also

IConfiguration Interface | Db4objects.Db4o.Config Namespace | Db4objects.Db4o.Config.IObjectClass.CallConstructor