title: How ria services manage transactions
body: <p>I learnt how can we configure transactions in Entity Framework using TransactionScope in one other question of mine. However it still confuses me! I mean how does RIA services execute transactions and how can we specify transaction options? I mean, suppose on the client in Silverlight we specify something like this :-</p>
  
  <pre><code>someContext.Add(someEntity1);
  someContext.Add(someEntity2);
  someContext.Add(someEntity3);
  </code></pre>
  
  <p>Now when i call <code>someContext.SubmitChanges()</code> this is going to call <code>InsertSomeEntity()</code> on the server in my domain service class. What is the guarantee that all three records will be inserted into the database and if one fails all of them fails? And how can we change these options?</p>