Updated scope of EntityTransaction since that didn't need to be outside of the particular method in question