App.config 1.6 KB

123456789101112131415161718192021222324252627
  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. <startup>
  8. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  9. </startup>
  10. <connectionStrings>
  11. <add name="lyahov_portEntities" connectionString="metadata=res://*/lyahov.csdl|res://*/lyahov.ssdl|res://*/lyahov.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=class31000;initial catalog=lyahov_port;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework&quot;"
  12. providerName="System.Data.EntityClient" />
  13. <add name="lyahov_tim.Properties.Settings.lyahov_portConnectionString"
  14. connectionString="Data Source=class31000;Initial Catalog=lyahov_port;Integrated Security=True"
  15. providerName="System.Data.SqlClient" />
  16. </connectionStrings>
  17. <entityFramework>
  18. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  19. <parameters>
  20. <parameter value="mssqllocaldb" />
  21. </parameters>
  22. </defaultConnectionFactory>
  23. <providers>
  24. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  25. </providers>
  26. </entityFramework>
  27. </configuration>