my $session = $mapper->begin_session;
create a new session instance.
a engine object which subclass of DBIx::ObjectMapper::Engine.
Defaults to True. the session will commit changes to the engine after destroy the session object.
if False, you call "commit" methods, then the session will commit changes to the engine,
accessor for a DBIx::ObjectMapper::Session::UnitOfWork object.
accessor for a engine object.
Place an object in the Session.
Add the list of objects to this Session.
Mark a object as deleted. The database delete operation occurs on flush().
Remove the object from this Session.
Flush all the object changes to the database.
Flush pending changes and commit the current transaction.
rollback the current transaction.
Copyright 2010 Eisuke Oishi
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.