Guest User

Config

a guest
Jan 26th, 2016
93
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <configuration>
  4.  
  5. <configSections>
  6.  
  7. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  8.  
  9. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  10.  
  11. </configSections>
  12.  
  13. <system.data>
  14.  
  15. <DbProviderFactories>
  16.  
  17. <remove invariant="MySql.Data.MySqlClient" />
  18.  
  19. <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.8.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
  20.  
  21. </DbProviderFactories>
  22.  
  23. </system.data>
  24.  
  25. <entityFramework>
  26.  
  27. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
  28.  
  29. <providers>
  30.  
  31. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  32.  
  33. </providers>
  34.  
  35. </entityFramework>
  36.  
  37. <connectionStrings>
  38.  
  39. <add name="Model1" providerName="MySql.Data.MySqlClient" connectionString="server=localhost;UserId=tax;Password=taxcontrol;database=myDatabase;CharSet=utf8;Persist Security Info=True" />
  40.  
  41. </connectionStrings>
  42.  
  43. <runtime>
  44.  
  45. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  46.  
  47. <dependentAssembly>
  48.  
  49. <assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
  50.  
  51. <bindingRedirect oldVersion="0.0.0.0-6.9.8.0" newVersion="6.9.8.0" />
  52.  
  53. </dependentAssembly>
  54.  
  55. </assemblyBinding>
  56.  
  57. </runtime>
  58.  
  59. </configuration>
RAW Paste Data