private function KeyCondition()
    {
        $schema = $this->GetSchema();
        $table = $schema->Table();
        $sql = $schema->SqlBuilder();
        $keyField = $table->Field($schema->KeyField());
        return $sql->Equals($keyField, $sql->Value($this->KeyValue()));
    }
private function KeyCondition()
    {
        $schema = $this->GetSchema();
        $table = $schema->Table();
        $sql = $schema->SqlBuilder();
        $keyField = $table->Field($schema->KeyField());
        return $sql->Equals($keyField, $sql->Value($this->KeyValue()));
    }
private function KeyCondition ( ) { $ schema = $ this -> GetSchema ( ) ; $ table = $ schema -> Table ( ) ; $ sql = $ schema -> SqlBuilder ( ) ; $ keyField = $ table -> Field ( $ schema -> KeyField ( ) ) ; return $ sql -> Equals ( $ keyField , $ sql -> Value ( $ this -> KeyValue ( ) ) ) ; }
Returns the sql condition key field = key value
@return Sql\Condition
Returns the sql condition key field = key value