App.config 1.8 KB

123456789101112131415161718192021222324
  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="EntitiesMedicallCenter" connectionString="metadata=res://*/ModelMedicallCenter.csdl|res://*/ModelMedicallCenter.ssdl|res://*/ModelMedicallCenter.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ngknn.ru;initial catalog=&amp;Praktika_Naumov_01.01;user id=33П;password=12357;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  12. <add name="EntitiesMedical" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ngknn.ru;initial catalog=&amp;Praktika_Naumov_01.01;user id=33П;password=12357;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  13. </connectionStrings>
  14. <entityFramework>
  15. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  16. <parameters>
  17. <parameter value="mssqllocaldb" />
  18. </parameters>
  19. </defaultConnectionFactory>
  20. <providers>
  21. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  22. </providers>
  23. </entityFramework>
  24. </configuration>