appsettings.json中sa用户的正确连接字符串是什么

时间:2017-02-10 15:02:47

标签: connection-string asp.net-core-1.0

我需要在asp.net core,appsettings.json

中为sa用户获取正确的连接字符串

“DefaultConnection”:“Server =(LocalDB)\ MSSQLLocalDB; Database = CakeShop; Trusted_Connection = True; MultipleActiveResultSets = true”

1 个答案:

答案 0 :(得分:2)

替换

Trusted_Connection=True;

User Id=sa;Password=*****;