jeudi 19 avril 2018

Dependency with different connection string

I have problem with Unity. The connection string with DbContext is different because our system is using User in database to authenticate. How can I inject DbContext after user login successfully? I mean I would like to change user/password in connection string.

Aucun commentaire:

Enregistrer un commentaire