Accessing Database from a separate project
Posted: Fri Nov 19, 2010 11:39 am
I am implementing the custom url rewriting provider listed at http://wiki.ablecommerce.com/index.php/ ... ovider_API
I'd like to access a table in the db using a technique similar to the one here: http://wiki.ablecommerce.com/index.php/Custom_Queries
The problem is when I use the Token class from the sample project the Instance property doesn't contain a reference to the Database property.
I added the sample project to the solution for my site and then I tried adding several of the CommerceBuilder dll's as references in the sampleproject but I still can't get to the Database property.
Is there a way to do this?
I'd like to access a table in the db using a technique similar to the one here: http://wiki.ablecommerce.com/index.php/Custom_Queries
The problem is when I use the Token class from the sample project the Instance property doesn't contain a reference to the Database property.
I added the sample project to the solution for my site and then I tried adding several of the CommerceBuilder dll's as references in the sampleproject but I still can't get to the Database property.
Is there a way to do this?