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 -

dataset - MPAndroidchart returning no chart Data available -

post - imageshack API cURL -