Base solution for your next web application
Open Closed

Multi-Context and Multi-Connection String #323


User avatar
0
saeedallahyari created

Hi Dear. scenario: I have two db. For example 'testDb' and 'testDbMirrorBackup' Assume that i use testDbMirrorBackup for search and report and testDb for other operation(insert/update/delete). How can i create and implement two(or more) context with different connection string and use each? How can i implement multi-context in this framework?

Thanks. Best Regards.


1 Answer(s)
  • User Avatar
    0
    nobruds created

    Hello,

    I think these topics will share some light to your need.

    [http://forum.aspnetboilerplate.com/viewtopic.php?f=2&t=259])

    [http://forum.aspnetboilerplate.com/viewtopic.php?f=2&t=232])