Example of retrieve values from 3rd Party DB

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
mlarsen
Ensign (ENS)
Ensign (ENS)
Posts: 16
Joined: Thu Jun 10, 2010 8:24 am

Example of retrieve values from 3rd Party DB

Post by mlarsen » Wed Sep 10, 2014 5:18 am

I'm hoping to find a way to use the connection handling of AbleCommerce to access values from a 3rd Party Database. Can I specify a connection string in the database.config and then use an able generic data access layer to query values from it to display on my pages? I can of course just create a new connection on my own and run my code side by side but I thought that if there was build in functionality for that from able it would be more scalable and the connection pooling would be handled better.

I checked the wiki and did not see anything that looked relevant.

Any advise?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Example of retrieve values from 3rd Party DB

Post by mazhar » Wed Sep 10, 2014 8:43 am

You will have to go with your custom connection handling. AbleCommerce makes use of Nhibernate so you can create your Entities/Mappings for third party database objects but you will need separate session factory/session for those objects.

Post Reply