IObjectClass.

CallConstructor(bool) Method

Summary

advises db4o to try instantiating objects of this class with/without calling constructors.
Assembly
Db4objects.Db4o-2010.dll
Namespace
Db4objects.Db4o.Config
Containing Type
IObjectClass

Syntax

void CallConstructor(bool flag)

Remarks

advises db4o to try instantiating objects of this class 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 set globally for all classes in Db4objects.Db4o.Config.IConfiguration.CallConstructors(System.Boolean) .

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

This setting can be applied to an open object container.

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.IConfiguration.CallConstructors(System.Boolean)