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="data source=.;
initial catalog=数据库名;persist security info=True;user id=用户名;password=密码;
multipleactiveresultsets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>