Home
About
Testimonials
Demos
Download
Documentation
Forum
Development
Class Finder
Tutorials
Class Docs
API Manual
Wiki
Namespace:
System.Data.ActiveRecord
Inheritance:
TComponent
»
TActiveRecordGateway
Properties
|
Events
|
Methods
|
Derived classes
|
All classes
Properties
Name
Type
Description
RP
Manager
TActiveRecordManager
record manager.
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
)
countRecords
Returns the number of records that match the given criteria.
createdOnTemplate
This method is invoked after the component is instantiated by a template. (inherited from
TComponent
)
delete
Delete the record.
deleteRecordsByCriteria
Delete multiple records by criteria.
deleteRecordsByPk
Delete multiple records using primary keys.
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
)
findRecordByPK
Returns record data matching the given primary key(s).
findRecordBySql
Return record data from sql query.
findRecordsByCriteria
Returns record data matching the given critera.
findRecordsByIndex
.
findRecordsByPks
Returns records matching the list of given primary keys.
findRecordsBySql
Return record data from sql query.
getCommand
.
getEventHandlers
Returns the list of attached event handlers for an event. (inherited from
TComponent
)
P
getInsertValues
insert values.
P
getPrimaryKeyValues
.
getRecordTableInfo
Returns table information, trys the application cache first.
P
getRecordTableName
Gets the table name from the 'TABLE' constant of the active record class if defined, otherwise use the class name as table name.
getSubProperty
Evaluates a property path. (inherited from
TComponent
)
getTableInfo
Returns table information for table in the database connection.
P
getUpdateValues
.
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
)
insert
Insert a new record.
P
raiseCommandEvent
Raise the corresponding command event, insert, update, delete or select.
raiseEvent
Raises an event. (inherited from
TComponent
)
setSubProperty
Sets a value to a property path. (inherited from
TComponent
)
update
Update the record.
P
updateAssociatedRecords
.
P
updatePostInsert
Sets the last insert ID to the corresponding property of the record if available.
Derived classes