Use the reflector tool to view the class and other information provided by ODP. net.

Source: Internet
Author: User
Tags reflector oracle developer

You should have used reflector, a powerful reflection tool,

If you do not have this tool, we strongly recommend you download this reflector tool from the official website,

I only reference one comment on this tool:

"Since reflector was available, I seldom went to msdn and used reflector to complete it !!!"

In this case, I think you can understand the powerful functions of reflector.

You can open a. dll component through the section marked above, and you can view the namespace, classes, and methods in it,

Functionality is awesome,

In this blog post, I will mainly introduce ORACLE data provider for. Net (ODP. Net ),

By the way, the aforementioned ODT. Net tool is actually an Oracle Developer Tools for Visual Studio. NET tool,

It is mainly used as a plug-in of Visual Studio and supports seamless development of Oracle using Visual Studio,

Here, ODP. Net can be seen as a groupProgram,

It mainly provides application interfaces for accessing the Oracle database in. net,

To access the Oracle database using ODP. net, you must first install ODP. net,

However, this is not necessary,

Because the current version of Oracle is higher, such as 10g or 11g, when installing the Oracle database,

ODP. net will be installed automatically,

If you have not installed ODT. Net (we strongly recommend that you install it,

You can find a component named oracle. dataaccess. dll in the following path.

D: \ app \ Xiaozhen \ product \ 11.1.0 \ db_1 \ ODP. Net \ bin \ 2.x

Of course, if you have installed ODT. net, you can also use another path, such

D: \ app \ Xiaozhen \ product \ 11.1.0 \ client_1 \ odp.net \ bin \ 2.x

An oracle. dataaccess. dll component also exists in this path,

You can use the reflector tool to open this component and view some encapsulated information,

Then you can view the encapsulated information in the reflector component,

As you can see, the namespace "oracle. dataaccess" contains two sub-namespaces,

Oracle. dataaccess. Client

Oracle. dataaccess. Types

Now I openSee the namespace oracle. dataaccess. Client,

Here, we can see a lot of classes we are familiar with, such as oracleconnection,

You can also view the attributes, methods, and other members of this class,

(You can use reflector for more information. I will not elaborate on it)

You can also viewOracle. dataaccess. TypesMany details in this class,

This blog post mainly introduces ODP. net,

Then how to use reflector to view the content in the Oracle. dataaccess. dll component !!!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.