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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -