Wrap DAO create, update, delete in a transaction