App.config 1.4 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  5. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  6. </configSections>
  7. <startup>
  8. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  9. </startup>
  10. <entityFramework>
  11. <providers>
  12. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  13. </providers>
  14. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  15. <parameters>
  16. <parameter value="mssqllocaldb" />
  17. </parameters>
  18. </defaultConnectionFactory>
  19. </entityFramework>
  20. <connectionStrings>
  21. <add name="UP_41P_GroshevIEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=sql.ngknn.ru;initial catalog=UP_41P_GroshevI;persist security info=True;user id=21P;password=12357;trustservercertificate=True;MultipleActiveResultSets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  22. </connectionStrings>
  23. </configuration>