app.config 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. <entityFramework>
  8. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  9. <parameters>
  10. <parameter value="v11.0" />
  11. </parameters>
  12. </defaultConnectionFactory>
  13. <providers>
  14. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  15. </providers>
  16. </entityFramework>
  17. <connectionStrings>
  18. <add name="HRServiceContextContainer" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.0.29\sql2008;Initial Catalog=HRService_EMIS;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;" />
  19. <add name="EMISNewContext" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.0.29\SQL2008;Initial Catalog=ssEMISNew1128;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;" />
  20. <add name="EMISNewLogContext" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.0.29\SQL2008;Initial Catalog=ssEMISNewLog;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;" />
  21. </connectionStrings>
  22. <startup>
  23. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  24. </startup>
  25. <runtime>
  26. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  27. <dependentAssembly>
  28. <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
  29. <bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" />
  30. </dependentAssembly>
  31. <dependentAssembly>
  32. <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31BF3856AD364E35" culture="neutral" />
  33. <bindingRedirect oldVersion="0.0.0.0-4.0.0.1" newVersion="4.0.0.1" />
  34. </dependentAssembly>
  35. </assemblyBinding>
  36. </runtime>
  37. </configuration>