locked
EntityFramework 5 CommitTransaction for a context object RRS feed

  • Question

  • I  see that EF 5 has a "BeginTransaction", but I can't get intellisense on the context for a commit. What good is having a BeginTransaction when there is no CommitTransaction? Am I correct what I'm seeing?
    DbContext.BeginTransaction(System.Data.IsolationLevel.RepeatableRead) is valid.
    There is no Commit for the corresponding statement above...
    Can someone inform me if this is correct? Without the Commit or Complete transaction, it won't get updated....

    Bill Yeager

    Sunday, September 16, 2012 2:35 AM

Answers