Page 1 of 1

Example of retrieve values from 3rd Party DB

Posted: Wed Sep 10, 2014 5:18 am
by mlarsen
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?

Re: Example of retrieve values from 3rd Party DB

Posted: Wed Sep 10, 2014 8:43 am
by mazhar
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.