<add name="ProwebEntities" connectionString ="Data Source=.;Integrated Security=true;Initial Catalog=Saienyitai;User ID=sa;Password=sa;MultipleActiveResultSets=true" providerName ="System.Data.SqlClient"/>

注意在连接字符串里一定要添加:Integrated Security=true;这样就可以自动删除SQL数据库里的表并重建了。

相关文章:

  • 2022-03-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2021-10-13
  • 2021-11-20
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-10-04
  • 2021-12-21
  • 2022-12-23
  • 2021-06-29
相关资源
相似解决方案