ODAC 创建实体数据模型

1.ODAC

ODAC即Oracle DataBase Access Component的缩写,简单
说就是连接Oracle数据库的组件

2.ODAC安装

ODAC下载
以下是官网安装时的步骤

Installation Instructions
======================================================
The instructions below apply to installing ODAC using Oracle Universal Installer. Xcopy installation instructions are included with the download itself.

1. Download the ODAC zip file into a temporary directory. Note: Do not download this file into the "Tmp" directory. 
2. Unzip its contents to the directory. 
3. Run Oracle Universal Installer (OUI) by launching the setup.exe that was unzipped in the same directory. 
4. OUI will lead you through ODAC installation on your machine. After the installation, you may delete the zip file and the unzipped folders and files. 

Note: If an ODAC beta is installed, uninstall it before installing this ODAC release. 

简单说下载之后解压文件后,再运行setup.exe文件。安装有问题的可以参考下载文档
ODAC 创建实体数据模型_第1张图片

3. 创建实体数据类型

打开VS 工具=>连接到数据库=>新建一个连接
ODAC 创建实体数据模型_第2张图片
添加实体模型
ODAC 创建实体数据模型_第3张图片

选择自己需要的表
ODAC 创建实体数据模型_第4张图片

创建完成
ODAC 创建实体数据模型_第5张图片

你可能感兴趣的:(C#)