日期:2014-05-17 浏览次数:20841 次
<configuration>
<connectionStrings>
<add name="ApplicationServices"
connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=
------解决方案--------------------
DataDirectory
------解决方案--------------------
aspnetdb.mdf;User Instance=true"
providerName="System.Data.SqlClient" />
<add name="DB1"
connectionString="Data Source=xxx\xxxx;Initial Catalog=xxx;Integrated Security=False;User ID=xxx;Password=xxx;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
<add name="DB2"
connectionString="Data Source=xxx;Initial Catalog=xxx;Integrated Security=False;User ID=xxx;Password=xxx;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
<configuration>
<connectionStrings>
<add name="HonorEntities" connectionString="metadata=res://*/HonorData.csdl
------解决方案--------------------
res://*/HonorData.ssdl
------解决方案--------------------
res://*/HonorData.msl;provider=System.Data.SqlClient;provider connection string="Data Source=.;Initial Catalog=Honor;Persist Security Info=True;User ID=sa;Password=sa;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>