Using SQL DSN With SubSonic
I want to create a SQL connect开发者_如何学编程ion using DSN. Then I want to generate the DAL using Subsonic. Please can you give me some pointers on what to do?
You don't need a DSN in these days (I assume you want to abstract the connection) - you can do that with SubSonic 3 by specifying the provider right in the connection string. If you want to switch providers, just change the "providerName" attribute of the connectionString.
I'm wondering if this is for legacy issues but a DSN is entirely in your control, it seems - and I think there's a better way.
精彩评论