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.
 
 
 
 
 
 

65 regels
4.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Microsoft.Practices.Unity.Configuration" />
  5. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  6. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  7. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  8. <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
  9. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  10. </configSections>
  11. <unity>
  12. <typeAliases>
  13. <typeAlias alias="IDatabase" type="Learun.DataBase.IDatabase,Learun.DataBase" />
  14. <typeAlias alias="SqlServer" type="Learun.DataBase.SqlServer.Database,Learun.DataBase.SqlServer" />
  15. <typeAlias alias="MySql" type="Learun.DataBase.MySqlEx.Database,Learun.DataBase.MySqlEx" />
  16. <typeAlias alias="Oracle" type="Learun.DataBase.Oracle.Database,Learun.DataBase.Oracle" />
  17. </typeAliases>
  18. <containers>
  19. <container name="IOCcontainer">
  20. <type type="IDatabase" mapTo="SqlServer" name="SqlServer"></type>
  21. <type type="IDatabase" mapTo="MySql" name="MySql"></type>
  22. <type type="IDatabase" mapTo="Oracle" name="Oracle"></type>
  23. </container>
  24. </containers>
  25. </unity>
  26. <connectionStrings>
  27. <add name="BaseDb" connectionString="Server=123.57.209.16;Initial Catalog=adms7ultimate2_塔里木;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />
  28. <add name="CollegeMIS" connectionString="Server=123.57.209.16;Initial Catalog=CollegeMIS_塔里木;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />
  29. <add name="hangfireString" connectionString="Server=123.57.209.16;Initial Catalog=Hangfire;User ID=sa;Password=bjqjkj@2014~2015!" providerName="System.Data.SqlClient" />
  30. <add name="paikeDbString" connectionString="Data Source=10.30.0.11;Database=paike;User ID=root;Password=12345678;" providerName="MySql.Data.MySqlClient" />
  31. </connectionStrings>
  32. <startup>
  33. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
  34. </startup>
  35. <entityFramework>
  36. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  37. <parameters>
  38. <parameter value="mssqllocaldb" />
  39. </parameters>
  40. </defaultConnectionFactory>
  41. <providers>
  42. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  43. </providers>
  44. </entityFramework>
  45. <runtime>
  46. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  47. <dependentAssembly>
  48. <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
  49. <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
  50. </dependentAssembly>
  51. <dependentAssembly>
  52. <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  53. <bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
  54. </dependentAssembly>
  55. <dependentAssembly>
  56. <assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
  57. <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
  58. </dependentAssembly>
  59. <dependentAssembly>
  60. <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  61. <bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
  62. </dependentAssembly>
  63. </assemblyBinding>
  64. </runtime>
  65. </configuration>