Home
About
Testimonials
Demos
Download
Documentation
Forum
Development
Class Finder
Tutorials
Class Docs
API Manual
Wiki
Namespace:
System.Data.DataGateway
Inheritance:
TComponent
»
TTableGateway
Properties
|
Events
|
Methods
|
Derived classes
|
All classes
Properties
Name
Type
Description
RP
Command
TDataGatewayCommand
command builder and executor.
R
DbConnection
TDbConnection
database connection.
R
LastInsertId
mixed
last insert id, null if none is found.
TableInfo
{unknown}
.
TableName
{unknown}
.
Events
Name
Description
OnCreateCommand
Raised when a command is prepared and parameter binding is completed.
OnExecuteCommand
Raised when a command is executed and the result from the database was returned.
Methods
Name
Description
addParsedObject
Processes an object that is created during parsing template. (inherited from
TComponent
)
attachEventHandler
Attaches an event handler to an event. (inherited from
TComponent
)
canGetProperty
Determines whether a property can be read. (inherited from
TComponent
)
canSetProperty
Determines whether a property can be set. (inherited from
TComponent
)
count
Find the number of records.
createdOnTemplate
This method is invoked after the component is instantiated by a template. (inherited from
TComponent
)
deleteAll
Delete records from the table with condition given by $where and binding values specified by $parameter argument.
deleteAllByPks
Alias for deleteByPk().
deleteByPk
Delete records by primary key.
detachEventHandler
Detaches an existing event handler. (inherited from
TComponent
)
evaluateExpression
Evaluates a PHP expression in the context of this control. (inherited from
TComponent
)
evaluateStatements
Evaluates a list of PHP statements. (inherited from
TComponent
)
find
Find one single record that matches the criteria.
findAll
Accepts same parameters as find(), but returns TDbDataReader instead.
findAllByPks
Similar to findByPk(), but returns TDbDataReader instead.
findAllBySql
Execute arbituary sql command with binding parameters.
findByPk
Find one record using only the primary key or composite primary keys.
findBySql
Execute arbituary sql command with binding parameters.
P
getCriteria
Create a new TSqlCriteria object from a string $criteria.
getEventHandlers
Returns the list of attached event handlers for an event. (inherited from
TComponent
)
getSubProperty
Evaluates a property path. (inherited from
TComponent
)
hasEvent
Determines whether an event is defined. (inherited from
TComponent
)
hasEventHandler
whether an event has been attached one or several handlers. (inherited from
TComponent
)
hasProperty
Determines whether a property is defined. (inherited from
TComponent
)
P
initCommandBuilder
.
insert
Inserts a new record into the table.
raiseEvent
Raises an event. (inherited from
TComponent
)
setSubProperty
Sets a value to a property path. (inherited from
TComponent
)
update
Updates the table with new name-value pair $data.
Derived classes
Bad Credit Mortgages
|
Free Advertising
|
Magazine Subscriptions
|
Web Advertising
|
Pacotes Reveillon Salvador