Table of Contents

Interface IDbProvider

Namespace
Quartz.Impl.AdoJobStore.Common
Assembly
Quartz.dll

Data access provider interface.

public interface IDbProvider

Properties

ConnectionString

Connection string used to create connections. Arrives through the implementation's constructor; a provider is fully usable once constructed.

string ConnectionString { get; }

Property Value

string

Metadata

The database metadata for the provider.

DbMetadata Metadata { get; }

Property Value

DbMetadata

Methods

CreateCommand()

Returns a new command object for executing SQL statements/Stored Procedures against the database.

DbCommand CreateCommand()

Returns

DbCommand

An new IDbCommand

CreateConnection()

Returns a new connection object to communicate with the database.

DbConnection CreateConnection()

Returns

DbConnection

A new IDbConnection

Shutdown()

Shutdowns this instance.

void Shutdown()