Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.config 2.2KB

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. <connectionStrings>
  8. <add name="MaoOrange_Hongji.My.MySettings.設定" connectionString="Data Source=192.168.12.127;Initial Catalog=MAO-ORANGE-ERP-SYS;Persist Security Info=True;User ID=B70340;Password=0911274990" providerName="System.Data.SqlClient" />
  9. </connectionStrings>
  10. <system.diagnostics>
  11. <sources>
  12. <!-- 這個區段定義 My.Application.Log 的記錄組態-->
  13. <source name="DefaultSource" switchName="DefaultSwitch">
  14. <listeners>
  15. <add name="FileLog" />
  16. <!-- 取消註解下列區段,以寫入應用程式事件記錄檔-->
  17. <!--<add name="EventLog"/>-->
  18. </listeners>
  19. </source>
  20. </sources>
  21. <switches>
  22. <add name="DefaultSwitch" value="Information" />
  23. </switches>
  24. <sharedListeners>
  25. <add name="FileLog" type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" initializeData="FileLogWriter" />
  26. <!-- 取消註解下列區段,並將 APPLICATION_NAME 取代成您的應用程式名稱,以寫入至應用程式事件記錄檔-->
  27. <!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
  28. </sharedListeners>
  29. </system.diagnostics>
  30. <entityFramework>
  31. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  32. <parameters>
  33. <parameter value="mssqllocaldb" />
  34. </parameters>
  35. </defaultConnectionFactory>
  36. <providers>
  37. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  38. </providers>
  39. </entityFramework>
  40. </configuration>