You are here: Configuration > Common Configuration > Mark Transient

Mark Transient

This allows you to configure additional Attributes to mark fields as transient. You can add multiple such Attributes by calling the method for each Attribute once.

IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration();
configuration.Common.MarkTransient(typeof (TransientMarkerAttribute).FullName);
CommonConfigurationExamples.cs: add an transient marker annotatin
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration()
configuration.Common.MarkTransient(GetType(TransientMarkerAttribute).FullName)
CommonConfigurationExamples.vb: add an transient marker annotatin