Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

UserCredentialsDbProvider.CreateConnection Method

Returns a new connection object to communicate with the database. Determine if there are currently thread-bound credentials, using them if available, falling back to the statically specified username and password (i.e. values of the properties 'Username' and 'Password') otherwise. The username and password will be concatenated on the connection string using string in the Separator property

[Visual Basic]
Public Overrides Sub CreateConnection() _
    Implements IDbProvider.CreateConnection
public override IDbConnection CreateConnection();

Return Value

A new IDbConnection



See Also

UserCredentialsDbProvider Class | Spring.Data.Common Namespace