| 1 |
lars |
1 |
<?php
|
|
|
2 |
/**
|
|
|
3 |
* TSelectMappedStatement class.
|
|
|
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: TSelectMappedStatement.php 2541 2008-10-21 15:05:13Z qiang.xue $
|
|
|
10 |
* @package System.Data.SqlMap.Statements
|
|
|
11 |
*/
|
|
|
12 |
|
|
|
13 |
/**
|
|
|
14 |
* TSelectMappedStatment class.
|
|
|
15 |
*
|
|
|
16 |
* @author Wei Zhuo <weizho[at]gmail[dot]com>
|
|
|
17 |
* @version $Id: TSelectMappedStatement.php 2541 2008-10-21 15:05:13Z qiang.xue $
|
|
|
18 |
* @package System.Data.SqlMap.Statements
|
|
|
19 |
* @since 3.1
|
|
|
20 |
*/
|
|
|
21 |
class TSelectMappedStatement 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 executeUpdate($connection, $parameter)
|
|
|
30 |
{
|
|
|
31 |
throw new TSqlMapExecutionException(
|
|
|
32 |
'sqlmap_cannot_execute_update', get_class($this), $this->getID());
|
|
|
33 |
}
|
|
|
34 |
|
|
|
35 |
}
|
|
|
36 |
|