App.config 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <connectionStrings>
  4. <add name="DbCon" connectionString="Data Source=|DataDirectory|\Database.db" providerName="System.Data.SQLite.EF6" />
  5. <add name="DbConPart" connectionString="Data Source=|DataDirectory|\Database2.db" providerName="System.Data.SQLite.EF6" />
  6. </connectionStrings>
  7. <appSettings>
  8. <!--程序标题-->
  9. <add key="SystemName" value="数据仿真平台" />
  10. <!--公司名称(没有则不会显示版权)-->
  11. <add key="Company" value="" />
  12. <!--本机IP,没有则由程序自动获取-->
  13. <add key="LocalIP" value="" />
  14. </appSettings>
  15. <!--<configSections>
  16. <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System">
  17. <section name="DevExpress.LookAndFeel.Design.AppSettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  18. </sectionGroup>
  19. --><!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --><!--
  20. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  21. </configSections>
  22. <applicationSettings>
  23. <DevExpress.LookAndFeel.Design.AppSettings>
  24. <setting name="DPIAwarenessMode" serializeAs="String">
  25. <value>System</value>
  26. </setting>
  27. <setting name="RegisterBonusSkins" serializeAs="String">
  28. <value>True</value>
  29. </setting>
  30. </DevExpress.LookAndFeel.Design.AppSettings>
  31. </applicationSettings>-->
  32. <startup>
  33. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  34. </startup>
  35. <!--<entityFramework>
  36. <providers>
  37. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  38. <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
  39. </providers>
  40. </entityFramework>-->
  41. <system.data>
  42. <DbProviderFactories>
  43. <remove invariant="System.Data.SQLite.EF6" />
  44. <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" />
  45. <remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
  46. </system.data>
  47. <runtime>
  48. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  49. <dependentAssembly>
  50. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  51. <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
  52. </dependentAssembly>
  53. </assemblyBinding>
  54. </runtime>
  55. </configuration>