Summary
configuration interface for classes.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Implementing Types
graph BT
Type["IObjectClass"]
class Type type-node
Implementing0["Config4Class"]-.->Type
click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Internal/Config4Class"
Syntax
public interface IObjectClass
Remarks
configuration interface for classes.
Use the global
Use the global
Db4objects.Db4o.Config.ICommonConfiguration.ObjectClass(System.Object)
to configure
object class settings.
Methods
| Name | Value | Summary |
|---|---|---|
| CallConstructor |
void |
advises db4o to try instantiating objects of this class with/without
calling constructors.
|
| CascadeOnActivate |
void |
sets cascaded activation behaviour.
|
| CascadeOnDelete |
void |
sets cascaded delete behaviour.
|
| CascadeOnUpdate |
void |
sets cascaded update behaviour.
|
| Compare |
void |
registers an attribute provider for special query behavior.
|
| EnableReplication |
void |
Must be called before databases are created or opened
so that db4o will control versions and generate UUIDs
for objects of this class, which is required for using replication.
|
| GenerateUUIDs |
void |
generate UUIDs for stored objects of this class.
|
| Generate |
void |
generate version numbers for stored objects of this class.
|
| Indexed |
void |
turns the class index on or off.
|
| Maximum |
void |
sets the maximum activation depth to the desired value.
|
| Minimum |
int |
gets the configured minimum activation depth.
|
| Minimum |
void |
sets the minimum activation depth to the desired value.
|
| ObjectField |
IObjectField |
returns an
Db4objects.Db4o.Config.IObjectField
object
to configure the specified field.
|
| Persist |
void |
turns on storing static field values for this class.
|
| Rename |
void |
renames a stored class.
|
| StoreTransientFields |
void |
allows to specify if transient fields are to be stored.
|
| Translate |
void |
registers a translator for this class.
|
| UpdateDepth |
void |
specifies the updateDepth for this class.
|