I have the following code in my application:
using (var database = new Database()) { var poll = // Some database query code. foreach (Question question
Sound like you need TransactionScope http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx
TransactionScope