3 * TInsertMappedStatement class file.
5 * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
6 * @link https://github.com/pradosoft/prado
7 * @copyright Copyright © 2005-2016 The PRADO Group
8 * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
9 * @package System.Data.SqlMap.Statements
13 * TInsertMappedStatement class.
15 * @author Wei Zhuo <weizho[at]gmail[dot]com>
16 * @package System.Data.SqlMap.Statements
19 class TInsertMappedStatement extends TMappedStatement
21 public function executeQueryForMap($connection, $parameter,
22 $keyProperty, $valueProperty=null)
24 throw new TSqlMapExecutionException(
25 'sqlmap_cannot_execute_query_for_map', get_class($this), $this->getID());
28 public function executeUpdate($connection, $parameter)
30 throw new TSqlMapExecutionException(
31 'sqlmap_cannot_execute_update', get_class($this), $this->getID());
34 public function executeQueryForList($connection, $parameter, $result=null,
37 throw new TSqlMapExecutionException(
38 'sqlmap_cannot_execute_query_for_list', get_class($this), $this->getID());
41 public function executeQueryForObject($connection, $parameter, $result=null)
43 throw new TSqlMapExecutionException(
44 'sqlmap_cannot_execute_query_for_object', get_class($this), $this->getID());