c# - How to get the exactly instance of DbContext -


i have multiples db contexts in web application of visual studio 2015, , doing middleware saves changes in db contexts.

but having problems because in invoke method call of middleware have instance of membershipdbcontext , in action when updating entity have another.

then savechanges() not doing because instance have not changes in stack trace.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -