HI Guys
I believe that the best way to connect to your DB would be through wcf which is supported and would normally be the way in a web based frontend.
Direct connecting to your db is not a great idea. but please don't shoot me.
hope this helps
thanks
Martint