title: SaveChanges() for multiple dbcontext with TransactionScope in Entity Framework 4.1
body: <p>I am using <code>SaveChanges()</code> method as given below:</p>
  
  <p><code>objAdbContext</code> of Database <code>A</code></p>
  
  <p><code>objBdbContext</code> of Database <code>B</code></p>
  
  <p>Updating table of DB A as given below</p>
  
  <pre><code>public string SaveA()
  {
  
  //Some stuff
  
    objAdbContext.SaveChanges();
  
    string result=UpdateDatabaseB(some parameters)
  
    //Some stuff
  
  }
  
  
  public string UpdateDatabaseB(some parameters)
  
  {
  
    //Some stuff
  
     objBdbContext.SaveChanges();
  
    return "Success";
  
  }
  </code></pre>
  
  <p>This case Database B is not getting updated. Is it correct way of updating multiple databases?</p>
  
  <p>Both are independent Databases and How to implement TransactionScope in this case?</p>