Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 DSN 创建 SQL 连接。然后我想使用 Subsonic 生成 DAL。请你能给我一些关于该怎么做的指示吗?
这些天你不需要 DSN(我假设你想抽象连接) - 你可以通过在连接字符串中指定提供程序来使用 SubSonic 3 做到这一点。如果要切换提供者,只需更改连接字符串的“提供者名称”属性即可。
我想知道这是否是针对遗留问题,但似乎 DSN 完全在您的控制之下——而且我认为有更好的方法。