MVC 数据库连接如何配置config文件
1个回答
展开全部
<connectionStrings>
<add name="***Context" connectionString="data source=***;initial catalog=**;persist security info=True;user id=***;password=***;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
</connectionStrings>
<add name="***Context" connectionString="data source=***;initial catalog=**;persist security info=True;user id=***;password=***;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
</connectionStrings>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询