다음을 통해 공유


IElementPartitionMapper Interface

Definition

Interface for service used to map elements partitions when reconstituting ElementGroupPrototypes

public interface class IElementPartitionMapper
public interface IElementPartitionMapper
type IElementPartitionMapper = interface
Public Interface IElementPartitionMapper
Derived

Remarks

ProtoLinks are always reconstituted into the partition of the source of the relationship, so the partition mapper is not asked to resolve partitions for links.

Methods

BeginMapping(ElementGroupPrototype, Partition)

Notification that a series of partition mapping requests are bout to be made for a particular ElementGroupPrototype and merge (or target) partition. This is an opportunity to perform one-off initialization and establish a context for the subsequent mapping calls.

EndMapping(ElementGroupPrototype, Partition, Object)

Notification that the ElementGroupHydrator argument has finished reconstituting elements and will not be making any more partition resolution requests. An opportunity to tear down any per-hydration state.

PartitionForClass(Partition, Guid)

Determine the partition to be used as the default for instantiation of elements of the specified class

PartitionForElement(ElementGroupPrototype, Partition, ProtoElement, Object)

Determine the partition to be used to reconstitute a prototype element

Applies to