Change Entity framework database schema at runtime

前端 未结 8 2594
花落未央
花落未央 2021-02-20 13:02

In most asp.net applications you can change the database store by modifing the connectionstring at runtime. i.e I can change from using a test database to a production database

8条回答
  •  难免孤独
    2021-02-20 13:27

    Here is a similar question with a better answer: Changing schema name on runtime - Entity Framework

    The solution that worked for me was the one written by Jan Matousek.

提交回复
热议问题