Creates an IDbConnection instance used to connect to the database.
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax
protected virtual IDbConnection CreateConnection( Type connectionType, string connectionString )
Parameters
- connectionType
- Type: SystemType
The Type of the IDbConnection object. - connectionString
- Type: SystemString
The connectionString output from the ResolveConnectionString method.
Return Value
Type: IDbConnectionAn IDbConnection instance with a valid connection string.
Remarks
See Also