November Happy Hour will be moved to Thursday December 5th.

Interface IDynamicDataTransfer

Handle transfering data from Dynamic Data Stores in import packages.

Namespace: EPiServer.Enterprise
Assembly: EPiServer.Enterprise.dll
Version: 12.0.3
Syntax
public interface IDynamicDataTransfer

Properties

ContentTransferContext

The context for the import or export.

Declaration
IContentTransferContext ContentTransferContext { get; }
Property Value
Type Description
IContentTransferContext

Methods

AddToExport(Guid, String, Boolean)

Adds an item from dynamic data store to export package.

Declaration
void AddToExport(Guid id, string storeName, bool keepIdentity)
Parameters
Type Name Description
System.Guid id

The id.

System.String storeName

Name of the store.

System.Boolean keepIdentity

if set to true the identity of the item is preserved during import.

Events

DeserializedObject

Occurs when a DDS object is deserialized but not yet saved to DDS. An eventhandler has possibility to alter object or cancel save operation.

Declaration
event EventHandler<SerializationEventArgs> DeserializedObject
Event Type
Type Description
System.EventHandler<SerializationEventArgs>

DeserializingFromXml

Occurs at deserilalization for items that has been modified by event SerializingToXml.

Declaration
event EventHandler<DeserializingItemEventArgs> DeserializingFromXml
Event Type
Type Description
System.EventHandler<DeserializingItemEventArgs>
Remarks

This event is only raised when an objects serilization format has been relplace by an eventhandler to SerializingToXml.

ImportCompleted

Occurs when [import completed].

Declaration
event EventHandler<EventArgs> ImportCompleted
Event Type
Type Description
System.EventHandler<System.EventArgs>

SerializingObject

Occurs when a DDS object is about to be serilaized to stream. An eventhandler has possibility to alter object or cancel save operation.

Declaration
event EventHandler<SerializationEventArgs> SerializingObject
Event Type
Type Description
System.EventHandler<SerializationEventArgs>

SerializingToXml

Occurs when a DDS object or a object reference has been serialized. An eventhandler has possibility to replace the serialized format of the object. If an item is modified then an eventhandler to DeserializingFromXml must be registered to handle recreation of object.

Declaration
event EventHandler<SerializingItemEventArgs> SerializingToXml
Event Type
Type Description
System.EventHandler<SerializingItemEventArgs>

Extension Methods