public __construct ( Storm\Core\Object\IRelationshipProperty $RelationshipProperty, Storm\Core\Relational\IRelation $Relation ) | ||
$RelationshipProperty | Storm\Core\Object\IRelationshipProperty | |
$Relation | Storm\Core\Relational\IRelation |
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; }