Method Take
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
Take()
Provides a connection that is ready to be handed to a command.
public IDbConnection Take()
Returns
- IDbConnection
An IDbConnection that the caller hands back with Give(IDbConnection) when finished.
Remarks
The connection is not necessarily open. Callers that execute commands open it only if needed (see EnsureOpen(IDbConnection)) and put it back in its original state when they are done.
- See Also