Guest User

Untitled

a guest
Jul 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  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. <entityFramework>
  8. <providers>
  9. <provider invariantName="System.Data.SQLite" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
  10. <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
  11. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  12. </providers>
  13. </entityFramework>
  14. <system.data>
  15. <DbProviderFactories>
  16. <remove invariant="System.Data.SQLite" />
  17. <remove invariant="System.Data.SQLite.EF6" />
  18. <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
  19. <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" />
  20. </DbProviderFactories>
  21. </system.data>
  22. <connectionStrings>
  23. <add name="SQLite" connectionString="Data Source=.SQLite.db3" providerName="System.Data.SQLite.EF6" />
  24. </connectionStrings>
  25. <startup>
  26. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
  27. </startup>
  28. </configuration>
  29.  
  30. PM> Add-Migration Initial
Add Comment
Please, Sign In to add comment