Class ReplicatedEntityRelationshipAttribute
If this is a descriptor marked to be replicated for each descriptor ( UseForReplicatingDescriptorType), then this relationship indicates this property holds a link to the entity type being replicated.
For example the permissions class uses this to say the IPermission.EntityID property holds a relationshipt to the descriptor it is replicated from.
Inherited Members
Namespace: LemonEdge.API.Attributes
Assembly: LemonEdge.API.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class ReplicatedEntityRelationshipAttribute : PropRelationshipAttribute
Constructors
ReplicatedEntityRelationshipAttribute(SingleJoinType, string, string)
Creates a new relationship from this replicated descriptor to the parent descriptor
Declaration
public ReplicatedEntityRelationshipAttribute(SingleJoinType type, string sourceLabel, string reverseLabel)
Parameters
Type | Name | Description |
---|---|---|
SingleJoinType | type | The type of join. For a replicated descriptor this must be a join of type One, it can not be nullable |
string | sourceLabel | The label of this relationship from the source entity |
string | reverseLabel | The label of this relationship from the target entity |