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 !!!