App.config 1.6 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  5. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  6. </configSections>
  7. <connectionStrings>
  8. <add name="YZXYH2017Context" connectionString="Data Source=.\sqlexpress;Initial Catalog=YZXYH2017;Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
  9. </connectionStrings>
  10. <entityFramework>
  11. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  12. <providers>
  13. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  14. </providers>
  15. </entityFramework>
  16. <runtime>
  17. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  18. <dependentAssembly>
  19. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  20. <bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" />
  21. </dependentAssembly>
  22. <dependentAssembly>
  23. <assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
  24. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  25. </dependentAssembly>
  26. </assemblyBinding>
  27. </runtime>
  28. </configuration>