PetaPoco's helper is here. Dispose is the same as calling CloseSharedConnection() . However, C # syntax only supports (...) using IDisposable . For example, IDBConnection , from memory, supports both Close and Dispose .
Basically, it comes down to choosing
Example 1
using(var db = new PetaPoco()) {
Example 2
var db = new PetaPoco() try {
source share