App.config 1.4 KB

1234567891011121314151617181920212223242526272829
  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. <!-- Aucune configuration nécessaire ici, tout est dans le web.config du projet MVC -->
  8. <startup>
  9. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
  10. </startup>
  11. <entityFramework>
  12. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  13. <parameters>
  14. <parameter value="mssqllocaldb" />
  15. </parameters>
  16. </defaultConnectionFactory>
  17. <providers>
  18. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  19. </providers>
  20. </entityFramework>
  21. <runtime>
  22. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  23. <dependentAssembly>
  24. <assemblyIdentity name="Npgsql" publicKeyToken="5d8b90d52f46fda7" culture="neutral" />
  25. <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
  26. </dependentAssembly>
  27. </assemblyBinding>
  28. </runtime>
  29. </configuration>