App.config 2.2 KB

12345678910111213141516171819202122232425
  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="PP_MininEntities" connectionString="metadata=res://*/ModelBase.Model1.csdl|res://*/ModelBase.Model1.ssdl|res://*/ModelBase.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ngknn.ru;initial catalog=PP_Minin;user id=43П;password=444444;trustservercertificate=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  12. <add name="PP_MininEntities1" connectionString="metadata=res://*/ModelBase.Model1.csdl|res://*/ModelBase.Model1.ssdl|res://*/ModelBase.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ngknn.ru;initial catalog=PP_Minin;user id=43П;password=444444;trustservercertificate=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  13. <add name="PP_MininEntities2" connectionString="metadata=res://*/ModelBase.Model1.csdl|res://*/ModelBase.Model1.ssdl|res://*/ModelBase.Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=ngknn.ru;initial catalog=PP_Minin;user id=43П;password=444444;encrypt=True;trustservercertificate=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  14. </connectionStrings>
  15. <entityFramework>
  16. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  17. <parameters>
  18. <parameter value="mssqllocaldb" />
  19. </parameters>
  20. </defaultConnectionFactory>
  21. <providers>
  22. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  23. </providers>
  24. </entityFramework>
  25. </configuration>