智慧大脑
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

40 rader
2.2 KiB

  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. <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
  7. </configSections>
  8. <entityFramework>
  9. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  10. <parameters>
  11. <parameter value="v13.0" />
  12. </parameters>
  13. </defaultConnectionFactory>
  14. <providers>
  15. <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
  16. </providers>
  17. </entityFramework>
  18. <system.data>
  19. <DbProviderFactories>
  20. <remove invariant="Oracle.ManagedDataAccess.Client" />
  21. <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342" />
  22. </DbProviderFactories>
  23. </system.data>
  24. <runtime>
  25. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  26. <dependentAssembly>
  27. <publisherPolicy apply="no" />
  28. <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
  29. <bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.122.19.1" />
  30. </dependentAssembly>
  31. </assemblyBinding>
  32. </runtime>
  33. <oracle.manageddataaccess.client>
  34. <version number="*">
  35. <dataSources>
  36. <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " />
  37. </dataSources>
  38. </version>
  39. </oracle.manageddataaccess.client>
  40. </configuration>