Click here to Skip to main content
13,291,748 members (61,434 online)
Click here to Skip to main content
Add your own
alternative version


30 bookmarked
Posted 7 May 2006

Oracle Data Access Block for .NET

, 7 May 2006
Rate this:
Please Sign up or sign in to vote.
This is an Oracle Data Layer class for connecting to Oracle Database from a .net application based on Oracle Data Provider.NET


This is an Oracle Data Layer class for connecting to Oracle Database from a .NET application

Oracle Data Provider for .NET (ODP.NET) is an implementation of a data providerfor the Oracle database.ODP.NET uses Oracle native APIs to offer fast and reliable access to Oracle data andfeatures from any .NET application. ODP.NET also uses and inherits classes andinterfaces available in the Microsoft .NET Framework Class Library.based on Oracle Data Provider.NET.

This C# class file contains two classes OracleDataAcess and OracleDataAccessParameterCache. We can easily manage the application Business layer by using this class. Here I give the sample code of the implementation of DataLayer in the Business Layer.

OracleParameter[] oraParam = new OracleParameter[2];

oraParam[0] = new OracleParameter("CustomerID", "100");
oraParam[1] = new OracleParameter("ResultCursor", OracleDbType.RefCursor);

oraParam[1].Direction = ParameterDirection.Output;

DataSet ObjDS =  OracleDataAccess.ExecuteDataset(connectionString, 
                 "Pr_GetCustomerDetails",oraParam );


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

RB Changanacherry
Team Leader
India India
I am Rajesh Babu, currently working for Nous Infosystems, Bangalore. I have 6 plus years experience in Microsoft Technologies.

You may also be interested in...


Comments and Discussions

QuestionHow I can Use this Pin
prasadtalla25-May-07 4:16
memberprasadtalla25-May-07 4:16 
AnswerRe: How I can Use this Pin
Rajesh15810-Jul-07 1:50
memberRajesh15810-Jul-07 1:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171207.1 | Last Updated 8 May 2006
Article Copyright 2006 by RB Changanacherry
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid