Interface IEntityReferenceVisitor
public interface IEntityReferenceVisitor
This interface defines a method to add an entity reference to the aggregate definition. An implementation of this
interface will be provided by the aggregate definition to the data layer to allow the data layer to add the new
entity reference.
- Author:
- voicu
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(IEntityReferenceDS entityReference) The data layer may invoke this method to add a new entity reference to an aggregate.
-
Method Details
-
process
The data layer may invoke this method to add a new entity reference to an aggregate.- Parameters:
entityReference
- The data source that contains the information to initialize an entity reference.- Throws:
InitializationException
- This exception is thrown when the data passes is not valid.
-