Subsonic: dynamic connections

后端 未结 5 1987
执笔经年
执笔经年 2020-12-17 06:53

I have an ancient mess I\'m trying to shovel into tiers using subsonic. Trouble is, I have this scenario:

When Hal logs in, his login uses database X for lookup data

5条回答
  •  天涯浪人
    2020-12-17 06:54

    I've have never considered 'SharedDbConnectionScope' easy or suitable for my applications

    Yet that's is the answer isn't it? It's why we put it in there - and yes I've heard your requests for connection changing on the fly and I've built it in, as I keep telling you in every thread that we have.

    Changing the connections on the fly is a request we've had a for a long, long time and we added it in there a long while back - and as far as I know it works like a charm.

    For SubSonic 3 I'm plugging in about 10 different ways that you can change your DBs connection whenever you want, to whatever platform you want with whatever object set you want.

提交回复
热议问题