One context and two database RRS feed

  • Question

  • User1929067570 posted


    I have an MVC application when I used one model. Then we transfer a part of this model(4 tables) to another database.

    How can i use this database, without add another model on my application?

    Thank you

    Thursday, July 4, 2019 11:08 AM

All replies

  • User1120430333 posted

    Each Model has its own Dbcontext for its database to be used.

    Thursday, July 4, 2019 11:38 AM