public function updateByPk($data, $keys) { list($where, $parameters) = $this->getPrimaryKeyCondition((array) $keys); return $this->update($data, new TSqlCriteria($where, $parameters)); }