Finish the transaction class using LINQ syntax and the part2 finished