App.config 1.6 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. <connectionStrings>
  8. <!--<add name="EMISNewContext" providerName="System.Data.SqlClient" connectionString="Data Source=192.168.0.66\EMISAdultDEVELOP;Initial Catalog=AdultDEVELOP;Persist Security Info=True;User ID=sa;Password=1;Pooling=True;Max Pool Size=10000;" />-->
  9. <add name="EMISNewContext" connectionString="metadata=res://*/EMISContext.csdl|res://*/EMISContext.ssdl|res://*/EMISContext.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=192.168.0.66\EMISAdultDEVELOP;initial catalog=AdultDEVELOP;persist security info=True;user id=sa;password=1;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" /></connectionStrings>
  10. <entityFramework>
  11. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  12. <parameters>
  13. <parameter value="v11.0" />
  14. </parameters>
  15. </defaultConnectionFactory>
  16. <providers>
  17. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  18. </providers>
  19. </entityFramework>
  20. </configuration>