IDatabase Interface
Defines the contract for a database connection, providing methods to retrieve the connection string and execute queries against the database for a specific data type.
IDatabase
Connection
Connection
Connection
Connection

Syntax

public interface IDatabase

Properties

Name Property Type Summary
Provider DatabaseProvider
Gets the database provider for this connection.

Methods

Name Return Value Summary
ExecuteQuery(string, string) DataSet
Executes a query against the database
GetConnectionString() string
Retrieves the connection string for the database.
TestConnection() bool
Tests weather the connection string is valid or not