连接字符串
<connectionStrings> <add name="ConnectionStrings" connectionString="Data Source=192.168.0.0;port=0123;Initial Catalog=DB1;user id=UserId;password=Pwd;Charset=utf8" providerName="MySql.Data.MySqlClient" /> <add name="ConnectionStrings" connectionString="Data Source=192.168.0.0;Initial Catalog=DB1;User ID=UserId;Password=PWd;Persist Security Info =True;" providerName="System.Data.SqlClient" /> <add name="ConnectionStrings" connectionString="data source=.;initial catalog=DB1;integrated security=True;MultipleActiveResultSets=True; App=EntityFramework" providerName="System.Data.SqlClient" /> </connectionStrings>