App.config 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. <startup>
  8. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
  9. </startup>
  10. <connectionStrings>
  11. <add name="DBEntities" connectionString="data source=microscope.db3" providerName="System.Data.SQLite.EF6" />
  12. </connectionStrings>
  13. <entityFramework>
  14. <providers>
  15. <provider invariantName="System.Data.SQLite" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
  16. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  17. <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
  18. </providers>
  19. </entityFramework>
  20. <system.data>
  21. <DbProviderFactories>
  22. <remove invariant="System.Data.SQLite.EF6" />
  23. <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
  24. <remove invariant="System.Data.SQLite" />
  25. <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
  26. </DbProviderFactories>
  27. </system.data>
  28. <runtime>
  29. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  30. <dependentAssembly>
  31. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  32. <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
  33. </dependentAssembly>
  34. </assemblyBinding>
  35. </runtime>
  36. <system.serviceModel>
  37. <bindings />
  38. <client />
  39. </system.serviceModel>
  40. </configuration>