dotConnect for Oracle Documentation
In This Topic
    Migration from OracleClient to dotConnect for Oracle
    In This Topic
    NoteNote:
    This topic is applicable only for full .NET Framework.

    According to this post in the ADO.NET team blog, Microsoft deprecates OracleClient as a part of ADO.NET roadmap. Microsoft strongly recommends customers to use third-party ADO.NET providers for Oracle instead of continuing to use Microsoft?s OracleClient for new application development.

    dotConnect for Oracle is fast and reliable ADO.NET provider for the wide range of users. It is the most compatible with OracleClient provider, and it provides the easiest migration from OracleClient. It allows you to migrate easily without effort.

    We have researched problems, which users may encounter when migrating from OracleClient to dotConnect for Oracle:

    Migration

    Our Migration Wizard makes the migration from the OracleClient to dotConnect for Oracle as easy as the two following steps:

    1. Open the Migration Wizard by choosing Migration Wizard from the Tools -> Oracle menu and in the appeared wizard click the Next button. Then choose the provider to convert from and whether to convert entire solution or the active project only and click Finish.

      Migration wizard

    2. Set OracleUtils.OracleClientCompatible to true in your code.

      compatibleline

    Then you may compile and use your project.

    Setting OracleUtils.OracleClientCompatible to true makes the following changes to dotConnect for Oracle behavior:

    Example

    We created an example for such migration from the MSDN code samples.


    samplescreen

    The sample project can be downloaded here. Then we used the Migration Wizard to migrate this project from OracleClient to dotConnect for Oracle, and inserted OracleUtils.OracleClientCompatible = true into the code. Everything works in the same way as before the migration. Migrated project can be downloaded here.

    See Also

    Comparing Data Providers for Oracle