[Solved] Method to query data from Oracle database in C# [closed]


Have you seen MSDN Document as it clearly says in the class definiton

[ObsoleteAttribute("OracleConnection has been deprecated. http://go.microsoft.com/fwlink/?LinkID=144260", 
    false)]
public sealed class OracleConnection : DbConnection, ICloneable

Follow the link mentioned in attribute constructor parameter (Oracle and ADO.NET)

You should rather use the specific Data provider from Oracle

An Example: Connecting to Oracle Database through C#?

solved Method to query data from Oracle database in C# [closed]