public function __construct(Object\IRelationshipProperty $RelationshipProperty, Relational\IRelation $Relation) { parent::__construct($RelationshipProperty); $this->RelationshipProperty = $RelationshipProperty; $this->EntityType = $RelationshipProperty->GetEntityType(); $this->Relation = $Relation; }
public function __construct(Object\IEntityProperty $EntityProperty, Relational\IToOneRelation $ToOneRelation) { parent::__construct($EntityProperty, $ToOneRelation); $this->EntityProperty = $EntityProperty; $this->ToOneRelation = $ToOneRelation; }