Επεξεργασία

Κοινή χρήση μέσω


E2E Relationship

An E2E relationship is a relationship between two entity's attributes.

public class CdmE2ERelationship extends CdmObjectDefinitionBase

CdmE2ERelationship extends CdmObjectDefinition in Python.

Constructors

Name Description
CdmE2ERelationship(CdmCorpusContext, string)
ctx: The corpus context.
name: The relationship's name.
Initializes a new instance of the CdmE2ERelationship class.

Properties

Name Type Description
Name string The relationship's name.
FromEntity string The corpus path to the entity the relationship is pointing from.
FromEntityAttribute string The entity attribute the relationship is pointing from (foreign key).
ToEntity string The corpus path to entity the relationship is pointing to.
ToEntityAttribute string The entity attribute the relationship is pointing to (often the entity's primary key).

Methods

Name Description Return Type
GetName() See CdmObjectDefinition.GetName(). string
IsDerivedFrom(string, ResolveOptions) See CdmObject.IsDerivedFrom(...). bool
Copy(ResolveOptions, CdmObject) See CdmObject.Copy(...). CdmObject
Validate() See CdmObject.Validate(). bool