Skip to content

Commit

Permalink
fix config section assembly name
Browse files Browse the repository at this point in the history
register OracleDatabase in configuration.
EnterpriseLibrary#39
  • Loading branch information
tsahi committed Oct 10, 2020
1 parent d9ac732 commit ff496ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<configuration>
<configSections>
<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data" />
<section name="oracleConnectionSettings" type="Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleConnectionSettings, Microsoft.Practices.EnterpriseLibrary.Data" />
<section name="oracleConnectionSettings" type="Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleConnectionSettings, Microsoft.Practices.EnterpriseLibrary.Data.Oracle" />
<section name="spikeSettings" type="Microsoft.Practices.EnterpriseLibrary.Data.Tests.Configuration.SpikeSettings, Microsoft.Practices.EnterpriseLibrary.Data.Tests" />
</configSections>

Expand Down Expand Up @@ -73,6 +73,8 @@
<add
databaseType="Microsoft.Practices.EnterpriseLibrary.Data.GenericDatabase, Microsoft.Practices.EnterpriseLibrary.Data, Version=6.0.0.0"
name="Data.Tests.SqlAlias2" />
<add databaseType="Microsoft.Practices.EnterpriseLibrary.Data.Oracle.OracleDatabase, Microsoft.Practices.EnterpriseLibrary.Data.Oracle, Version=6.3.2.0"
name="Oracle.ManagedDataAccess.Client"/>
</providerMappings>
</dataConfiguration>

Expand Down
1 change: 1 addition & 0 deletions source/Tests/Data.Tests/ProviderMappingFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public void WillGetDefaultMappingIfProviderTypeIsNotMappedAndDefaultExistsForSql

#pragma warning disable 612, 618
[TestMethod]
[Ignore("We don't support this scenario now. Provider must be mapped to be used.")]
public void WillGetDefaultMappingIfProviderTypeIsNotMappedAndDefaultExistsForOracle()
{
DatabaseSettings databaseSettings = new DatabaseSettings();
Expand Down

0 comments on commit ff496ca

Please sign in to comment.