Storm\Core\Relational\ResultRow::GetPrimaryKey PHP Method

GetPrimaryKey() final public method

Get a the primary key of the supplied table
final public GetPrimaryKey ( Storm\Core\Relational\ITable $Table ) : PrimaryKey
$Table Storm\Core\Relational\ITable The table of the primary key to retreive
return PrimaryKey The matching primary key
    public final function GetPrimaryKey(ITable $Table)
    {
        if (!$this->IsOf($Table)) {
            throw $this->InvalidTable($Table);
        }
        return $this->PrimaryKeys[$Table->GetName()];
    }