Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
/**
3
 * TInsertMappedStatement class file.
4
 *
5
 * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
6
 * @link http://www.pradosoft.com/
7
 * @copyright Copyright &copy; 2005-2008 PradoSoft
8
 * @license http://www.pradosoft.com/license/
9
 * @version $Id: TInsertMappedStatement.php 2541 2008-10-21 15:05:13Z qiang.xue $
10
 * @package System.Data.SqlMap.Statements
11
 */
12
 
13
/**
14
 * TInsertMappedStatement class.
15
 *
16
 * @author Wei Zhuo <weizho[at]gmail[dot]com>
17
 * @version $Id: TInsertMappedStatement.php 2541 2008-10-21 15:05:13Z qiang.xue $
18
 * @package System.Data.SqlMap.Statements
19
 * @since 3.1
20
 */
21
class TInsertMappedStatement extends TMappedStatement
22
{
23
	public function executeQueryForMap($connection, $parameter,
24
								$keyProperty, $valueProperty=null)
25
	{
26
		throw new TSqlMapExecutionException(
27
				'sqlmap_cannot_execute_query_for_map', get_class($this), $this->getID());
28
	}
29
 
30
	public function executeUpdate($connection, $parameter)
31
	{
32
		throw new TSqlMapExecutionException(
33
				'sqlmap_cannot_execute_update', 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