【实例简介】
本实例使用C#调用IBatisNet连接操作Oracle10g的实例,使得初学者少起弯路;下载后直接编译使用。
注: 必须安装oracle10g客户端,并且配置数据库连接
创建表t_test
create table t_test( id int);
【实例截图】
【核心代码】
C_Conn_Ora
└── C#_Conn_Ora
├── ConsoleApplication1
│ ├── App.config
│ ├── bin
│ │ └── Release
│ │ ├── Castle.DynamicProxy.dll
│ │ ├── ConsoleApplication1.exe
│ │ ├── ConsoleApplication1.exe.config
│ │ ├── ConsoleApplication1.pdb
│ │ ├── ConsoleApplication1.vshost.exe
│ │ ├── ConsoleApplication1.vshost.exe.config
│ │ ├── ConsoleApplication1.vshost.exe.manifest
│ │ ├── IBatisNet.Common.dll
│ │ ├── IBatisNet.DataAccess.dll
│ │ ├── IBatisNet.DataMapper.dll
│ │ ├── log4net.dll
│ │ ├── mapper
│ │ │ └── tb_test.xml
│ │ ├── Providers.config
│ │ └── SqlMap.config
│ ├── ConsoleApplication1.csproj
│ ├── ConsoleApplication1.csproj.user
│ ├── da
│ │ └── DBDA.cs
│ ├── dll
│ │ ├── Castle.DynamicProxy.dll
│ │ ├── IBatisNet.Common.dll
│ │ ├── IBatisNet.DataAccess.dll
│ │ ├── IBatisNet.DataMapper.dll
│ │ ├── log4net.dll
│ │ └── Oracle.DataAccess.dll
│ ├── mapper
│ │ └── tb_test.xml
│ ├── obj
│ │ ├── Debug
│ │ │ ├── build.force
│ │ │ ├── ConsoleApplication1.csproj.FileListAbsolute.txt
│ │ │ ├── ConsoleApplication1.exe
│ │ │ └── ConsoleApplication1.pdb
│ │ └── Release
│ │ ├── ConsoleApplication1.csproj.FileListAbsolute.txt
│ │ ├── ConsoleApplication1.exe
│ │ ├── ConsoleApplication1.pdb
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ └── ResolveAssemblyReference.cache
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Providers.config
│ ├── SqlMap.config
│ └── t_test.cs
├── ConsoleApplication1.sln
├── ConsoleApplication1.suo
└── 说明.txt
12 directories, 42 files