[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
interface to allow instantiating objects by calling specific constructors.
Namespace: Db4objects.Db4o.Config
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface IObjectConstructor _ Implements IObjectTranslator |
C# |
---|
public interface IObjectConstructor : IObjectTranslator |
Visual C++ |
---|
public interface class IObjectConstructor : IObjectTranslator |
Remarks
interface to allow instantiating objects by calling specific constructors.
Examples: ../com/db4o/samples/translators.
By writing classes that implement this interface, it is possible to define which constructor is to be used during the instantiation of a stored object.
Before starting a db4o session, translator classes that implement the
or
ObjectTranslator
need to be registered.
Example:
Examples: ../com/db4o/samples/translators.
By writing classes that implement this interface, it is possible to define which constructor is to be used during the instantiation of a stored object.
Before starting a db4o session, translator classes that implement the
![]() | |
---|---|
ObjectConstructor |
Example:
![]() | |
---|---|
Configuration config = Db4o.configure(); |