Connection.GetConnection

Returns an IDbConnection object with ConnectionString and ConnectionTimeout set to the correct values.

public abstract IDbConnection GetConnection();

Return Value

An IDbConnection object.

See also:

Class Connection