| 1 |
lars |
1 |
<?php
|
|
|
2 |
/**
|
|
|
3 |
* TUpdateMappedStatement class file.
|
|
|
4 |
*
|
|
|
5 |
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
|
|
|
6 |
* @link http://www.pradosoft.com/
|
|
|
7 |
* @copyright Copyright © 2005-2008 PradoSoft
|
|
|
8 |
* @license http://www.pradosoft.com/license/
|
|
|
9 |
* @version $Id: TUpdateMappedStatement.php 2541 2008-10-21 15:05:13Z qiang.xue $
|
|
|
10 |
* @package System.Data.SqlMap.Statements
|
|
|
11 |
*/
|
|
|
12 |
|
|
|
13 |
/**
|
|
|
14 |
* TUpdateMappedStatement class.
|
|
|
15 |
*
|
|
|
16 |
* @author Wei Zhuo <weizho[at]gmail[dot]com>
|
|
|
17 |
* @version $Id: TUpdateMappedStatement.php 2541 2008-10-21 15:05:13Z qiang.xue $
|
|
|
18 |
* @package System.Data.SqlMap.Statements
|
|
|
19 |
* @since 3.1
|
|
|
20 |
*/
|
|
|
21 |
class TUpdateMappedStatement extends TMappedStatement
|
|
|
22 |
{
|
|
|
23 |
public function executeInsert($connection, $parameter)
|
|
|
24 |
{
|
|
|
25 |
throw new TSqlMapExecutionException(
|
|
|
26 |
'sqlmap_cannot_execute_insert', get_class($this), $this->getID());
|
|
|
27 |
}
|
|
|
28 |
|
|
|
29 |
public function executeQueryForMap($connection, $parameter, $keyProperty,
|
|
|
30 |
$valueProperty=null)
|
|
|
31 |
{
|
|
|
32 |
throw new TSqlMapExecutionException(
|
|
|
33 |
'sqlmap_cannot_execute_query_for_map', get_class($this), $this->getID());
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
public function executeQueryForList($connection, $parameter, $result=null,
|
|
|
37 |
$skip=-1, $max=-1)
|
|
|
38 |
{
|
|
|
39 |
throw new TSqlMapExecutionException(
|
|
|
40 |
'sqlmap_cannot_execute_query_for_list', get_class($this), $this->getID());
|
|
|
41 |
}
|
|
|
42 |
|
|
|
43 |
public function executeQueryForObject($connection, $parameter, $result=null)
|
|
|
44 |
{
|
|
|
45 |
throw new TSqlMapExecutionException(
|
|
|
46 |
'sqlmap_cannot_execute_query_for_object', get_class($this), $this->getID());
|
|
|
47 |
}
|
|
|
48 |
}
|
|
|
49 |
|