Click or drag to resize

IDatabase Interface

Manage the connection to the SQL database.

Namespace:  AskiaFieldCom.SqlDatabase
Assembly:  AskiaFieldCom (in AskiaFieldCom.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface IDatabase

The IDatabase type exposes the following members.

Properties
  NameDescription
Public propertyConnectionString
Gets the connection string associated with this database.
Top
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