作者:殇子休 | 来源:互联网 | 2018-05-28 10:47
connectionStringsaddnameTestDBproviderNameSystem.Data.SqlClientconnectionStringdatasource主体数据库地址;FailoverPartner镜像数据库地址;IntegratedSecurityfalse;databaseTestDB;usersa;password123456connectionStrings
connectionStrings add name="TestDB" providerName="System.Data.SqlClient" cOnnectionString="data source=主体数据库地址; Failover Partner =镜像数据库地址;Integrated Security=false;database=TestDB;user=sa;password=123456"/ /connectionString s
s>