Summary
activates an object with the current activation strategy.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Ext - Containing Type
- IExtObjectContainer
Syntax
void Activate(Object obj)
Remarks
activates an object with the current activation strategy.
In regular activation mode the object will be activated to the
global activation depth, ( see
In Transparent Activation Mode ( see
Db4objects.Db4o.Config.ICommonConfiguration.ActivationDepth
)
and all configured settings for
Db4objects.Db4o.Config.IObjectClass.MaximumActivationDepth(System.Int32)
and
Db4objects.Db4o.Config.IObjectClass.MaximumActivationDepth(System.Int32)
will be respected.In Transparent Activation Mode ( see
Db4objects.Db4o.TA.TransparentActivationSupport
)
the parameter object will only be activated, if it does not implement
Db4objects.Db4o.TA.IActivatable
. All referenced members that do not implement
Db4objects.Db4o.TA.IActivatable
will also be activated. Any
Db4objects.Db4o.TA.IActivatable
objects
along the referenced graph will break cascading activation.
Parameters
Name | Type | Description |
---|---|---|
obj | Object |
Return Value
Type | Description |
---|---|
void |