Packageat.db
Classpublic class DeleteSlideBySectionID

Class for deleting a record(s) from the table tbl_Slide in the application database.



Public Properties
 PropertyDefined by
  sectionID : int
Holds the sectionID value to be used in a query to locate the slide record to be deleted.
DeleteSlideBySectionID
Public Methods
 MethodDefined by
  
DeleteSlideBySectionID(sectionID:int)
Constructor.
DeleteSlideBySectionID
Protected Methods
 MethodDefined by
  
init():void
Init.
DeleteSlideBySectionID
  
onDBStatementDeleteResult(event:SQLEvent):void
Listener handler method for database SQL statement result.
DeleteSlideBySectionID
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
DeleteSlideBySectionID
  
onEveDBOpened(event:SQLEvent):void
Deletes a record or several records from the table tbl_Slide in the application database where sectionid matches the variable sectionID.
DeleteSlideBySectionID
Property detail
sectionIDproperty
public var sectionID:int

Holds the sectionID value to be used in a query to locate the slide record to be deleted.

Constructor detail
DeleteSlideBySectionID()constructor
public function DeleteSlideBySectionID(sectionID:int)

Constructor.

Parameters
sectionID:int
Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

onDBStatementDeleteResult()method 
protected function onDBStatementDeleteResult(event:SQLEvent):void

Listener handler method for database SQL statement result.

Parameters
event:SQLEventSQLEvent
onEveDBError()method 
protected function onEveDBError(event:SQLEvent):void

Error handler method for database connection errors.

Parameters
event:SQLEventSQLEvent
onEveDBOpened()method 
protected function onEveDBOpened(event:SQLEvent):void

Deletes a record or several records from the table tbl_Slide in the application database where sectionid matches the variable sectionID.

Parameters
event:SQLEventSQLEvent