Nonstop Database, HiRDB Version 9 UAP Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(1) Constructor
(a) HiRDBDataAdapter
- void HiRDBDataAdapter ()
- Description: Initializes a new instance of the HiRDBDataAdapter class.
- void HiRDBDataAdapter (Hitachi.HiRDB.HiRDBCommand)
- Argument
- HiRDBCommand selectCommand: HiRDBCommand object representing the SQL SELECT statement (SelectCommand property)
- Description: Uses the specified HiRDBCommand to initialize a new instance of the HiRDBDataAdapter class.
- void HiRDBDataAdapter (string, Hitachi.HiRDB.HiRDBConnection)
- Arguments
- string selectCommandText: SQL SELECT statement
- HiRDBConnection selectConnection: HiRDBConnection object representing the connection
- Description: Uses the HiRDBConnection specifying the SQL SELECT statement to create HiRDBCommand (SelectCommand property). This constructor initializes a new instance of the HiRDBDataAdapter class.
- void HiRDBDataAdapter (string, string)
- Arguments
- string selectCommandText: SQL SELECT statement
- string selectConnectionString: connection character string
- Description: Uses a connection character string to create HiRDBConnection. The constructor then uses the created HiRDBConnection to create HiRDBCommand (SelectCommand property). This constructor initializes a new instance of the HiRDBDataAdapter class.
(2) Properties
(a) DeleteCommand
- Type: HiRDBCommand
- Default value: null
- Description: Acquires or sets the SQL statement for deleting records from a data set.
(b) InsertCommand
- Type: HiRDBCommand
- Default value: null
- Description: Acquires or sets the SQL statement for inserting new records in a database.
(c) SelectCommand
- Type: HiRDBCommand
- Default value: null
- Description: Acquires or sets the SQL statement for selecting records in a database.
(d) UpDateCommand
- Type: HiRDBCommand
- Default value: null
- Description: Acquires or sets the SQL statement for updating records in a database.
(3) Events
(a) RowUpdated
- Type: HiRDBRowUpdatedEventHandler
- Description: This event occurs after a command has been executed on the data source during update processing.
(b) RowUpdating
- Type: HiRDBRowUpdatingEventHandler
- Description: This event occurs before a command is executed on the data source during update processing.
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.