Devin
V2EX  ›  .NET

通过读取 app.config 的连接字符串来连接数据库不用指定 ProviderName?

  •  
  •   Devin · Dec 4, 2017 via iPhone · 2871 views
    This topic created in 3236 days ago, the information mentioned may be changed or developed.
    1 replies  •  2017-12-04 23:38:21 +08:00
    hcymk2
        1
    hcymk2  
       Dec 4, 2017   ❤️ 1
    providerName 是可选属性,而且有默认值 System.Data.SqlClient
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1139 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 18:05 · PVG 02:05 · LAX 11:05 · JFK 14:05
    ♥ Do have faith in what you're doing.