Added transaction

Still don't have the feel for EF, need to see if there are simpler ways
of building entity relationships based on keys as opposed to based on
entity assignment, who knows...