DatabaseSource Class

Definition

Exposes the data required for opening a database for reading.

public sealed class DatabaseSource
type DatabaseSource = class
Public NotInheritable Class DatabaseSource
Inheritance
DatabaseSource

Constructors

DatabaseSource(DbProviderFactory, String, String)

Creates a new instance of the DatabaseSource class.

DatabaseSource(DbProviderFactory, String, String, Int32)

Creates a new instance of the DatabaseSource class.

Properties

CommandText

Gets the text command to run against the data source.

CommandTimeoutInSeconds

Gets the timeout for database command.

ConnectionString

Gets the string used to open the connection.

ProviderFactory

Gets the factory used to create the DbConnection.

Applies to