Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced deprecated odp.net.managed package with Oracle.ManagedDataAc…
…cess #382.
- Loading branch information
Showing
15 changed files
with
930 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="odp.net.managed" version="121.1.2" targetFramework="net40" /> | ||
<package id="odp.net.x86" version="112.3.20" targetFramework="net40" /> | ||
<package id="Oracle.ManagedDataAccess" version="12.1.24160719" targetFramework="net40" /> | ||
</packages> |
Binary file added
BIN
+2.45 MB
packages/Oracle.ManagedDataAccess.12.1.24160719/Oracle.ManagedDataAccess.12.1.24160719.nupkg
Binary file not shown.
115 changes: 115 additions & 0 deletions
115
packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.install.xdt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<?xml version="1.0"?> | ||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | ||
|
||
<configSections xdt:Transform="InsertIfMissing"> | ||
</configSections> | ||
|
||
<configSections xdt:Transform="InsertBefore(/configuration/*[1])"> | ||
</configSections> | ||
|
||
<!-- remove existing entry --> | ||
<configSections xdt:Locator="XPath(/configuration/configSections[last()])"> | ||
<section name="oracle.manageddataaccess.client" xdt:Transform="Remove" xdt:Locator="Match(name)" /> | ||
</configSections> | ||
|
||
<!-- insert new entry --> | ||
<configSections xdt:Locator="XPath(/configuration/configSections[last()])"> | ||
<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Insert" /> | ||
</configSections> | ||
|
||
<configSections xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
|
||
<!-- If system.data tag is absent --> | ||
<system.data xdt:Transform="InsertIfMissing"> | ||
<DbProviderFactories> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- If system.data tag is present, but DbProviderFactories tag is absent --> | ||
<system.data> | ||
<DbProviderFactories xdt:Transform="InsertIfMissing"> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- remove existing ODPM entry --> | ||
<system.data> | ||
<DbProviderFactories> | ||
<remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Remove" xdt:Locator="Match(invariant)" /> | ||
<add name="ODP.NET, Managed Driver" xdt:Transform="Remove" xdt:Locator="Match(name)" /> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- add new ODPM entry --> | ||
<system.data> | ||
<DbProviderFactories> | ||
<remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Insert"/> | ||
<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.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Insert" /> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- If runtime tag is absent --> | ||
<runtime xdt:Transform="InsertIfMissing"> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- If runtime tag is present, but assembly binding tag is absent --> | ||
<runtime> | ||
<assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- remove existing entry --> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly xdt:Transform="Remove" | ||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Oracle.ManagedDataAccess')" > | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- insert new entry --> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly xdt:Transform="Insert"> | ||
<publisherPolicy apply="no"/> | ||
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" /> | ||
<bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.121.2.0" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- If oracle.manageddataaccess.client tag is absent --> | ||
<oracle.manageddataaccess.client xdt:Transform="InsertIfMissing"> | ||
<version number="*"> | ||
<dataSources> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
<!-- If version tag is absent --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*" xdt:Transform="InsertIfMissing"> | ||
<dataSources> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
<!-- If dataSources tag is absent --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*"> | ||
<dataSources xdt:Transform="InsertIfMissing"> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
<!-- add entry if missing --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*"> | ||
<dataSources> | ||
<dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " xdt:Transform="InsertIfMissing" xdt:Locator="Match(alias)"/> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
</configuration> |
4 changes: 4 additions & 0 deletions
4
packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.transform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<configuration> | ||
<configSections> | ||
</configSections> | ||
</configuration> |
64 changes: 64 additions & 0 deletions
64
packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/App.config.uninstall.xdt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0"?> | ||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | ||
|
||
<!-- remove existing entry --> | ||
<configSections> | ||
<section name="oracle.manageddataaccess.client" xdt:Transform="Remove" xdt:Locator="Match(name)" /> | ||
</configSections> | ||
|
||
<!-- remove if section is empty --> | ||
<configSections xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
|
||
<!-- remove existing entry --> | ||
<system.data> | ||
<DbProviderFactories> | ||
<remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Remove" xdt:Locator="Match(invariant)" /> | ||
<add name="ODP.NET, Managed Driver" xdt:Transform="Remove" xdt:Locator="Match(name)" /> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- remove if section is empty --> | ||
<system.data> | ||
<DbProviderFactories xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
</system.data> | ||
<system.data xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
|
||
<!-- remove existing entry --> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly xdt:Transform="Remove" | ||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Oracle.ManagedDataAccess')" > | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- remove if section is empty --> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
</runtime> | ||
<runtime xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
|
||
<!-- remove existing entry --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*"> | ||
<dataSources> | ||
<dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " xdt:Transform="Remove" xdt:Locator="Match(alias)"/> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
<!-- remove if section is empty --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*"> | ||
<dataSources xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
<!-- remove existing entry --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*" xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
</oracle.manageddataaccess.client> | ||
|
||
<oracle.manageddataaccess.client xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
|
||
</configuration> |
114 changes: 114 additions & 0 deletions
114
packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.install.xdt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
<?xml version="1.0"?> | ||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | ||
|
||
<configSections xdt:Transform="InsertIfMissing"> | ||
</configSections> | ||
|
||
<configSections xdt:Transform="InsertBefore(/configuration/*[1])"> | ||
</configSections> | ||
|
||
<!-- remove existing entry --> | ||
<configSections xdt:Locator="XPath(/configuration/configSections[last()])"> | ||
<section name="oracle.manageddataaccess.client" xdt:Transform="Remove" xdt:Locator="Match(name)" /> | ||
</configSections> | ||
|
||
<!-- insert new entry --> | ||
<configSections xdt:Locator="XPath(/configuration/configSections[last()])"> | ||
<section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Insert" /> | ||
</configSections> | ||
|
||
<configSections xdt:Transform="RemoveAll" xdt:Locator="Condition(count(*)=0)" /> | ||
|
||
<!-- If system.data tag is absent --> | ||
<system.data xdt:Transform="InsertIfMissing"> | ||
<DbProviderFactories> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- If system.data tag is present, but DbProviderFactories tag is absent --> | ||
<system.data> | ||
<DbProviderFactories xdt:Transform="InsertIfMissing"> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- remove existing ODPM entry --> | ||
<system.data> | ||
<DbProviderFactories> | ||
<remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Remove" xdt:Locator="Match(invariant)" /> | ||
<add name="ODP.NET, Managed Driver" xdt:Transform="Remove" xdt:Locator="Match(name)" /> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- add new ODPM entry --> | ||
<system.data> | ||
<DbProviderFactories> | ||
<remove invariant="Oracle.ManagedDataAccess.Client" xdt:Transform="Insert"/> | ||
<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.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" xdt:Transform="Insert" /> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- If runtime tag is absent --> | ||
<runtime xdt:Transform="InsertIfMissing"> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- If runtime tag is present, but assembly binding tag is absent --> | ||
<runtime> | ||
<assemblyBinding xdt:Transform="InsertIfMissing" xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- remove existing entry --> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly xdt:Transform="Remove" | ||
xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Oracle.ManagedDataAccess')" > | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- insert new entry --> | ||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly xdt:Transform="Insert"> | ||
<publisherPolicy apply="no"/> | ||
<assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
|
||
<!-- If oracle.manageddataaccess.client tag is absent --> | ||
<oracle.manageddataaccess.client xdt:Transform="InsertIfMissing"> | ||
<version number="*"> | ||
<dataSources> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
<!-- If version tag is absent --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*" xdt:Transform="InsertIfMissing"> | ||
<dataSources> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
<!-- If dataSources tag is absent --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*"> | ||
<dataSources xdt:Transform="InsertIfMissing"> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
<!-- add entry if missing --> | ||
<oracle.manageddataaccess.client> | ||
<version number="*"> | ||
<dataSources> | ||
<dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL))) " xdt:Transform="InsertIfMissing" xdt:Locator="Match(alias)"/> | ||
</dataSources> | ||
</version> | ||
</oracle.manageddataaccess.client> | ||
|
||
</configuration> |
4 changes: 4 additions & 0 deletions
4
packages/Oracle.ManagedDataAccess.12.1.24160719/content/net40/Web.config.transform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<configuration> | ||
<configSections> | ||
</configSections> | ||
</configuration> |
Oops, something went wrong.