Changing data source dynamically

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
nickc
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Thu Nov 29, 2007 3:48 pm

Changing data source dynamically

Post by nickc » Thu Apr 22, 2010 11:38 am

I'm looking for some method to change the "AbleCommerce" database in use based on request context, without CommerceBuilder source.
Is there any way to assign Token.Instance.Database or manipulate the default connectString name at runtime? The connectString "|DataDirectory|" method is not viable as the database can't be guaranteed to be local.

Thanks,

Post Reply