MapEntityToRelationalRequest() 최종 공개 메소드

final public MapEntityToRelationalRequest ( string $EntityType, Request $RelationalRequest, array $AlreadyKnownProperties = [] ) : void
$EntityType string The type of entity
$RelationalRequest Storm\Core\Relational\Request The request to add to
$AlreadyKnownProperties array
리턴 void
 protected final function MapEntityToRelationalRequest(DomainDatabaseMap $DomainDatabaseMap, Relational\Request $RelationalRequest, Object\RevivalData $AlreadyKnownRevivalData = null)
 {
     if ($AlreadyKnownRevivalData !== null) {
         $AlreadyKnownPropertyIdentifiers = array_keys($AlreadyKnownRevivalData->GetPropertyData());
         $AlreadyKnownProperties = $AlreadyKnownRevivalData->GetProperties($AlreadyKnownPropertyIdentifiers);
         $DomainDatabaseMap->MapEntityToRelationalRequest($this->EntityType, $RelationalRequest, $AlreadyKnownProperties);
     } else {
         $DomainDatabaseMap->MapEntityToRelationalRequest($this->EntityType, $RelationalRequest);
     }
 }
 public function AddToRelationalRequest(DomainDatabaseMap $DomainDatabaseMap, Relational\Request $RelationalRequest)
 {
     if ($this->WillJoinRows) {
         $DomainDatabaseMap->MapEntityToRelationalRequest($this->GetEntityType(), $RelationalRequest);
         $this->GetToOneRelation()->AddRelationToRequest($RelationalRequest);
     }
 }