App.config.uninstall.xdt 1.2 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  3. <!-- remove existing entry -->
  4. <connectionStrings>
  5. <add name="OracleDbContext" providerName="Oracle.ManagedDataAccess.Client" connectionString="User Id=oracle_user;Password=oracle_user_password;Data Source=oracle" xdt:Transform="Remove" xdt:Locator="Match(name)" />
  6. </connectionStrings>
  7. <!-- remove if section is empty -->
  8. <connectionStrings xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
  9. <!-- remove existing entry -->
  10. <entityFramework>
  11. <providers>
  12. <provider invariantName="Oracle.ManagedDataAccess.Client" type="Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=6.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Remove" xdt:Locator="Match(invariantName)" />
  13. </providers>
  14. </entityFramework>
  15. <!-- remove if section is empty -->
  16. <entityFramework>
  17. <providers xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
  18. </entityFramework>
  19. <entityFramework xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" />
  20. </configuration>