Table of Contents

Method Give

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

Give(IDbConnection)

Gives a connection back to the pool.

public void Give(IDbConnection connection)

Parameters

connection IDbConnection

The connection previously provided by Take().

Remarks

Depending on the implementation, the pool could be full and the connection disposed of immediately, or the pool could restore the connection to the state it was in when it was taken.

See Also