IConfiguration.

CallConstructors(bool) Method

Summary

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

Syntax

void CallConstructors(bool flag)

Remarks

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

Not all .NET-environments support this feature. db4o will attempt, to follow the setting as good as the enviroment supports. This setting may also be overridden for individual classes in Db4objects.Db4o.Config.IObjectClass.CallConstructor(System.Boolean) .

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

In client/server environment this setting should be used on both client and server.

Parameters

Name Type Description
flag bool - specify true, to request calling constructors, specify false to request not calling constructors.

Return Value

Type Description
void

See Also

  • Db4objects.Db4o.Config.IObjectClass.CallConstructor(System.Boolean)