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 -

How do you convert a timestamp into a datetime in python with the correct timezone? -