开发者

Using SQL DSN With SubSonic

开发者 https://www.devze.com 2022-12-18 11:16 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号