Does a new DbContext instance create a new connection and transaction?

In EF6, when doing:

this.dataContext = new MyContext("name=contextname");

      

Does it open a new connection and transaction?

The reason is that when I call my UoW Commit () method, the dbcontext connection is already open.

+3


source to share





All Articles