c# - Does creating a new DbContext instance open a new connection and transaction? -
in ef6, when doing:
this.datacontext = new mycontext("name=contextname");
does open new connection , transaction?
the reason because when call uow's commit() method, dbcontext's connection open.
Comments
Post a Comment