Updating Solution for VS2014
Applying the changes from Scott Beardsley (https://gist.github.com/codelinq/797390), so it works properly with transactions.