App.config 1.3 KB

1234567891011121314151617181920
  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="EMISNewLogContext" connectionString="metadata=res://*/EMISLogContext.csdl|res://*/EMISLogContext.ssdl|res://*/EMISLogContext.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.0.29\sql2008;initial catalog=EMISNewLog;persist security info=True;user id=sa;password=1;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  19. </connectionStrings>
  20. </configuration>