Um, that would be very bad. If you need data from a database, you can use a web service to help you collect this information using several methods, but if what you are trying to do is let your Silver Light application execute SQL queries directly, what you do this is the wrong way.
source share