TransparentPersistenceSupport Class

Summary

Enables Transparent Persistence and Transparent Activation behaviours for the current session.
graph BT Type-->Base0["TransparentActivationSupport"] click Base0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.TA/TransparentActivationSupport" Base0-->Base1["Object"] Type-.->Interface0["IConfigurationItem"] click Interface0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Config/IConfigurationItem" Type["TransparentPersistenceSupport"] class Type type-node

Syntax

public class TransparentPersistenceSupport : TransparentActivationSupport, IConfigurationItem

Remarks

Enables Transparent Persistence and Transparent Activation behaviours for the current session.

commonConfiguration.Add(new TransparentPersistenceSupport());

Constructors

Name Summary
TransparentPersistenceSupport() Creates a new instance of TransparentPersistenceSupport class with no rollback strategies defined.
TransparentPersistenceSupport(IRollbackStrategy) Creates a new instance of TransparentPersistenceSupport class

Methods

Name Value Summary
ActivationProvider(IInternalObjectContainer) IActivationDepthProvider
static
Apply(IInternalObjectContainer) void
Configures current ObjectContainer to support Transparent Activation and Transparent Persistence
IsTransparentActivationEnabledOn(IInternalObjectContainer) bool
static
Prepare(IConfiguration) void

See Also

  • Db4objects.Db4o.TA.TransparentActivationSupport