PageRenderTime 35ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 1ms

/EntLibContrib5Src/Quick Starts/Data.MySql/CS/Data.MySql.QuickStarts.Console/app.config

#
Unknown | 32 lines | 28 code | 4 blank | 0 comment | 0 complexity | a8bd558134b2c6501c8f88035ffe2f3c MD5 | raw file
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <configuration>
  3. <configSections>
  4. <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true"/>
  5. </configSections>
  6. <system.data>
  7. <DbProviderFactories>
  8. <add name="EntLibContrib.Data.MySql"
  9. invariant="EntLibContrib.Data.MySql"
  10. description="EntLibContrib Data MySql Provider"
  11. type="EntLibContrib.Data.MySql.MySqlDatabase, EntLibContrib.Data.MySql, Version=5.0.505.0, Culture=neutral, PublicKeyToken=null" />
  12. </DbProviderFactories>
  13. </system.data>
  14. <dataConfiguration defaultDatabase="Default Connection String">
  15. <providerMappings>
  16. <add databaseType="EntLibContrib.Data.MySql.MySqlDatabase, EntLibContrib.Data.MySql, Version=5.0.505.0, Culture=neutral, PublicKeyToken=null"
  17. name="EntLibContrib.Data.MySql"/>
  18. </providerMappings>
  19. </dataConfiguration>
  20. <connectionStrings>
  21. <add name="Default Connection String"
  22. connectionString="database=northwind;uid=root;pwd=admin"
  23. providerName="EntLibContrib.Data.MySql"/>
  24. </connectionStrings>
  25. <startup>
  26. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  27. </startup>
  28. </configuration>