Click or drag to resize

IDatabase Methods

The IDatabase type exposes the following members.

Methods
  NameDescription
Public methodCode exampleExecuteNonQuery
Execute a SQL query such as INSERT, UPDATE and DELETE and returns the number of rows affected.
Public methodCode exampleExecuteReader
Returns the SQL data reader associated with the specified SQL query.
Public methodCode exampleExecuteScalar
Execute the SQL query and returns the value of first column of the first row in the result set, or null if the result is empty.
Public methodCode exampleGetRecords
Returns an enumeration of the SQL records associated with the specified SQL query.
Top
See Also