Skip to content

Commit 705158c

Browse files
author
Alex Henderson
committed
Added support for using the managed Oracle driver for transformations (instead of unmanaged ODP.Net driver).
1 parent 864b236 commit 705158c

File tree

4 files changed

+331
-305
lines changed

4 files changed

+331
-305
lines changed

lib/Oracle.ManagedDataAccess.dll

6.13 MB
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using Oracle.ManagedDataAccess.Client;
2+
3+
namespace Migrator.Providers.Oracle
4+
{
5+
public class OracleManagedDriverTransformationProvider : OracleTransformationProviderBase
6+
{
7+
public OracleManagedDriverTransformationProvider(Dialect dialect, string connectionString, string defaultSchema)
8+
: base(dialect, connectionString, defaultSchema)
9+
{
10+
_connection = new OracleConnection();
11+
_connection.ConnectionString = _connectionString;
12+
_connection.Open();
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)