Method Take
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
Take()
Provides a connection of type TConnection that is ready to be handed to a command.
public TConnection Take()
Returns
- TConnection
A
TConnectionthat 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