Typed DataSet - Migration to ODP.NET

Discussion in 'C#' started by Ptero, Oct 15, 2009.

  1. Ptero

    Ptero New Member

    Joined:
    Oct 15, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    We're using a lot of typed datasets in ASP.NET application, most of them have many tables+adapters and each table has some functions that call Oracle Stored Procedures. It works using System.Data.OracleClient. Our purpose is to make a migration to ODP.NET ( Oracle.DataAccess ). If i build a new typed dataset, it works fine with ODP. For migration of existing code i changed all references from System.Data.OracleClient to Oracle.DataAccess ( Both in Project References and also in Designer.cs files (manually)).
    But existing code falls on Adapter get property - InitAdapter() function. The error is: "Value does not fall within the expected range". Any suggestions, please? Many thanks in advance for your help.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice