title: entity framework transaction error
body: <p>I am using entity framework and I have several methods where I am using transactions. I get this error: <strong>The connection is already in a transaction and cannot participate in another transaction. EntityClient does not support parallel transactions.</strong> 
  I have multiple methods depending on 'MethodB' like the code example below:</p>
  
  <pre><code>public void MethodA(){
      using (var tran = Db.Database.BeginTransaction()){  
          MethodB();
          var tableARecord = new TableARecord();
          try
          {
              _context.TableAs.Add(tableARecord)
              Db.SaveChanges();
          }
          catch (Exception excp)
          {
              tran.Rollback();
              throw;
          }
      }
   }
  
   public void MethodC(){
      using (var tran = Db.Database.BeginTransaction()){  
          MethodB();
          //do something else
      }
   }
  
   public int MethodB(){
      int ret = 0
      //exception happens when starting the transaction below
      using (var tran = Db.Database.BeginTransaction()){  
          //do something else
      }
      return ret;
   }
  </code></pre>