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
Post a Comment