EntityConnection.ConnectionString 属性

<connectionStrings>
<add name="Entities" connectionString="metadata=
res://*/Sql_Wkdb.csdl|
res://*/Sql_Wkdb.ssdl|
res://*/Sql_Wkdb.msl;
provider=System.Data.SqlClient;provider connection string=&quot;data source=.;
initial catalog=数据库名;persist security info=True;user id=用户名;password=密码;
multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>

 

posted @ 2018-01-31 14:41  撞到南墙拆了继续走  阅读(528)  评论(0编辑  收藏  举报