用EntityFramework Reverse POCO Generator工具生成的连接:<add name="Base_dbContext" connectionString="Data Source=dbaddress;Initial Catalog=dbname;Persist Security Info=True;User ID=sa;Password=123456;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
运行时提示错误:An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct.
正确连接: <add name="Base_dbContext" connectionString="Data Source=dbaddress;Initial Catalog=dbname;Integrated Security=SSPI;User ID=sa;Password=123456;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />