示例#1
0
 /**
  * @param Entity $entity
  *
  * @return PDOStatement
  */
 protected function updateEntity(Entity $entity)
 {
     $table = $this->getTable($entity);
     $keyValueData = $this->getKeyValuePropertiesByEntity($entity);
     $where = null;
     return $this->pdoAdapter->update($table, $keyValueData, $where);
 }