其中一个解决办法是
数据库连接地址中增加 enlist=false
<add name="NorthWind" connectionString="server=.;database=NorthWind;Uid=sa;Pwd=123456;enlist=false" providerName="System.Data.SqlClient" />
其中一个解决办法是
数据库连接地址中增加 enlist=false
<add name="NorthWind" connectionString="server=.;database=NorthWind;Uid=sa;Pwd=123456;enlist=false" providerName="System.Data.SqlClient" />